mirror of
https://github.com/block/buzz.git
synced 2026-11-13 12:51:34 +00:00
fix(sidebar-sync): drop unused fireDelay from reconnect test destructuring
Co-authored-by: Will Pfleger <pfleger.will@gmail.com> Signed-off-by: Will Pfleger <pfleger.will@gmail.com>
This commit is contained in:
@@ -519,7 +519,7 @@ export function runMergeLaneHookSuite({
|
||||
// Use timer bed so the 2s click debounce does not fire unexpectedly.
|
||||
// retryReconnectPublish cancels the debounce and calls startCycle directly,
|
||||
// so no timer needs to be fired after the reconnect — just drain microtasks.
|
||||
const { fireDelay, restore: restoreTimers } = makeHookTimerBed();
|
||||
const { restore: restoreTimers } = makeHookTimerBed();
|
||||
const origDateNow = Date.now;
|
||||
Date.now = () => 100 * 1_000;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user