Skip to content

Commit

Permalink
test: fix test case for dragonfly
Browse files Browse the repository at this point in the history
  • Loading branch information
roggervalf committed Jan 25, 2025
1 parent 46552de commit f251f8b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/test_job_scheduler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -242,8 +242,7 @@ describe('Job Scheduler', function () {
expect(repeatableJobs.length).to.be.eql(1);
await this.clock.tickAsync(ONE_MINUTE);
const counts = await queue.getJobCounts();
expect(counts.delayed).to.be.eql(0);
expect(counts.completed).to.be.eql(1);
expect(counts.delayed + counts.completed).to.be.eql(1);

await worker.close();
});
Expand Down

0 comments on commit f251f8b

Please sign in to comment.