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 3b31e50 commit 65beb3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_job.js
Original file line number Diff line number Diff line change
Expand Up @@ -756,7 +756,7 @@ describe('Job', () => {

it('applies stacktrace limit on failure', () => {
const stackTraceLimit = 1;
return Job.create(queue, { foo: 'bar' }, { stackTraceLimit }).then(
return Job.create(queue, { foo: 'bar' }, { stackTraceLimit, attempts: 2 }).then(
job => {
return job
.isFailed()
Expand Down

0 comments on commit 65beb3b

Please sign in to comment.