diff options
Diffstat (limited to 'packages/meshbay-hub/tests/harness')
| -rw-r--r-- | packages/meshbay-hub/tests/harness/search_fanout_harness.mjs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/packages/meshbay-hub/tests/harness/search_fanout_harness.mjs b/packages/meshbay-hub/tests/harness/search_fanout_harness.mjs index 74b4bb3..c05e23b 100644 --- a/packages/meshbay-hub/tests/harness/search_fanout_harness.mjs +++ b/packages/meshbay-hub/tests/harness/search_fanout_harness.mjs @@ -78,7 +78,6 @@ const shown = []; // [{ at, groups }] — one entry per render the reader gets const session = { bundleKey: 'k' }; const _loadBundleKey = async () => 'k'; -const cacheGroupIndex = () => {}; // One group's index, answered on the clock rather than over a network. const fetchGroupIndex = (groupId) => new Promise((resolve, reject) => { @@ -106,7 +105,7 @@ const lift = (signature) => { }; const make = new Function( - 'session', '_loadBundleKey', 'cacheGroupIndex', 'fetchGroupIndex', 'localStorage', + 'session', '_loadBundleKey', 'fetchGroupIndex', 'localStorage', `const MAX_IN_FLIGHT = ${ceiling[1]}; const DOWN_KEY = 'harness'; ${lift('function lastKnownDown(')} @@ -116,7 +115,7 @@ const make = new Function( return fetchAllIndexes;`, ); const fetchAllIndexes = make( - session, _loadBundleKey, cacheGroupIndex, fetchGroupIndex, globalThis.localStorage); + session, _loadBundleKey, fetchGroupIndex, globalThis.localStorage); // ── The scenario ───────────────────────────────────────────────────────────── |