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 May 22, 2024
1 parent 65beb3b commit 44e28ee
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/test_job.js
Original file line number Diff line number Diff line change
Expand Up @@ -769,6 +769,9 @@ describe('Job', () => {
.then(() => {
return job.moveToFailed(new Error('test error'), true);
})
.then(() => {
return scripts.moveToActive(queue);
})
.then(() => {
return job
.moveToFailed(new Error('test error'), true)
Expand Down

0 comments on commit 44e28ee

Please sign in to comment.