Skip to content

Commit

Permalink
chore: 9 attempt
Browse files Browse the repository at this point in the history
  • Loading branch information
roggervalf committed Dec 5, 2024
1 parent 60233cb commit 152b2d6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/test_job_scheduler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ describe('Job Scheduler', function () {
});

beforeEach(async function () {
this.clock = sinon.useFakeTimers();
this.clock = sinon.useFakeTimers({
shouldClearNativeTimers: true,
} as any);
queueName = `test-${v4()}`;
queue = new Queue(queueName, { connection, prefix });
repeat = new Repeat(queueName, { connection, prefix });
Expand Down

0 comments on commit 152b2d6

Please sign in to comment.