Skip to content

Commit e9d1f3e

Browse files
committed
test: fix test case
1 parent 07f6a1e commit e9d1f3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_job.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -941,7 +941,7 @@ describe('Job', function () {
941941
const job = (await worker.getNextJob(token)) as Job;
942942
const isWaiting = await job.isWaiting();
943943
expect(isWaiting).to.be.equal(false);
944-
await job.moveToWait('0');
944+
await job.moveToWait(token);
945945
const isisWaiting2 = await job.isWaiting();
946946
expect(isisWaiting2).to.be.equal(true);
947947
await worker.close();

0 commit comments

Comments
 (0)