Skip to content

Commit 9106a97

Browse files
committed
lint: drop unused CollectorClient import + name unused Promise param
Pre-existing CI breakage (eslint .). No behavioural change.
1 parent 5fc75e2 commit 9106a97

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

tests/accessUpdate.test.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import { assert } from './test-utils/deps-node.js';
22
import { Contact } from '../ts/appTemplates/Contact.ts';
3-
import { CollectorClient } from '../ts/appTemplates/CollectorClient.ts';
43

54
/**
65
* Unit tests for access update request functionality.

ts/appTemplates/AppManagingAccount.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ export class AppManagingAccount extends Application {
8787
collectors.map(async (collector) => {
8888
const race = Promise.race([
8989
loadCollector(collector),
90-
new Promise((_, reject) => setTimeout(() => reject(new Error('timeout')), TIMEOUT_MS))
90+
new Promise((_resolve, reject) => setTimeout(() => reject(new Error('timeout')), TIMEOUT_MS))
9191
]);
9292
const invites = await race as any[];
9393
return { collector, invites };

0 commit comments

Comments
 (0)