Skip to content

Commit

Permalink
test: fix test case
Browse files Browse the repository at this point in the history
  • Loading branch information
roggervalf committed Dec 24, 2024
1 parent 07f6a1e commit e9d1f3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_job.ts
Original file line number Diff line number Diff line change
Expand Up @@ -941,7 +941,7 @@ describe('Job', function () {
const job = (await worker.getNextJob(token)) as Job;
const isWaiting = await job.isWaiting();
expect(isWaiting).to.be.equal(false);
await job.moveToWait('0');
await job.moveToWait(token);
const isisWaiting2 = await job.isWaiting();
expect(isisWaiting2).to.be.equal(true);
await worker.close();
Expand Down

0 comments on commit e9d1f3e

Please sign in to comment.