Skip to content

Commit

Permalink
fix: useFakeTimer in beforeEach
Browse files Browse the repository at this point in the history
  • Loading branch information
twoeths committed Aug 18, 2023
1 parent 36db4a6 commit d6cf1cd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ describe("IndexedGossipQueueMinSize", () => {
});

const sandbox = sinon.createSandbox();
sandbox.useFakeTimers();

beforeEach(() => {
sandbox.useFakeTimers();
gossipQueue.clear();
for (const letter of ["a", "b", "c"]) {
for (let i = 0; i < 4; i++) {
Expand Down

0 comments on commit d6cf1cd

Please sign in to comment.