We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 07f6a1e commit e9d1f3eCopy full SHA for e9d1f3e
tests/test_job.ts
@@ -941,7 +941,7 @@ describe('Job', function () {
941
const job = (await worker.getNextJob(token)) as Job;
942
const isWaiting = await job.isWaiting();
943
expect(isWaiting).to.be.equal(false);
944
- await job.moveToWait('0');
+ await job.moveToWait(token);
945
const isisWaiting2 = await job.isWaiting();
946
expect(isisWaiting2).to.be.equal(true);
947
await worker.close();
0 commit comments