diff options
Diffstat (limited to 'packages/meshbay-hub/tests/harness/search_fanout_harness.mjs')
| -rw-r--r-- | packages/meshbay-hub/tests/harness/search_fanout_harness.mjs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/meshbay-hub/tests/harness/search_fanout_harness.mjs b/packages/meshbay-hub/tests/harness/search_fanout_harness.mjs index c05e23b..5f95ede 100644 --- a/packages/meshbay-hub/tests/harness/search_fanout_harness.mjs +++ b/packages/meshbay-hub/tests/harness/search_fanout_harness.mjs @@ -80,7 +80,7 @@ const session = { bundleKey: 'k' }; const _loadBundleKey = async () => 'k'; // One group's index, answered on the clock rather than over a network. -const fetchGroupIndex = (groupId) => new Promise((resolve, reject) => { +const fetchGroupIndex = (_pool, groupId) => new Promise((resolve, reject) => { const n = Number(String(groupId).split('-')[1]); const isDead = dead.includes(n); setTimeout( @@ -123,7 +123,7 @@ const list = Array.from({ length: groups }, (_, i) => ({ id: `g-${i}`, name: `G$ let finishedAt = null; fetchAllIndexes( - list, 'tok', 'alice', 'u1', + null, list, 'tok', 'alice', 'u1', () => {}, // progress counters only (results) => { shown.push({ at: now, groups: results.size }); }, ).then(() => { finishedAt = now; }); |