Skip to content

Commit

Permalink
wip: mollify the linter
Browse files Browse the repository at this point in the history
  • Loading branch information
hughsw committed Apr 20, 2020
1 parent b718c73 commit d018be3
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions test/queue-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -1228,10 +1228,12 @@ describe('Queue', (it) => {
queue.jobs = new Map();

const failed = await queue.getJobs('failed');
const failedErrors = failed.map((job) => {
t.is(job.options.stacktraces.length, 1);
return job.options.stacktraces[0];
}).sort();
const failedErrors = failed
.map((job) => {
t.is(job.options.stacktraces.length, 1);
return job.options.stacktraces[0];
})
.sort();

t.deepEqual(
failedErrors,
Expand Down

0 comments on commit d018be3

Please sign in to comment.