Skip to content

Commit

Permalink
test: 5 attempt
Browse files Browse the repository at this point in the history
  • Loading branch information
roggervalf committed Dec 4, 2024
1 parent aee5ded commit 73b8e33
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/test_job_scheduler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1190,9 +1190,7 @@ describe('Job Scheduler', function () {
this.clock.setSystemTime(date);

const nextTick = () => {
const now = moment();
const nextMonth = moment().add(1, 'months');
this.clock.tick(nextMonth - now);
this.clock.tick(ONE_DAY * 31);
};

const worker = new Worker(queueName, async () => {}, {
Expand Down

0 comments on commit 73b8e33

Please sign in to comment.