Skip to content

Commit

Permalink
Remove Q npm module as not used any more
Browse files Browse the repository at this point in the history
  • Loading branch information
koresar committed Aug 4, 2021
1 parent 8daa43b commit 78e4f95
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@
"mocha": "8.4.0",
"mocha-lcov-reporter": "1.3.0",
"prettier": "2.3.0",
"q": "1.5.1",
"sinon": "11.1.0",
"typescript": "4.2.4"
},
Expand Down
2 changes: 1 addition & 1 deletion test/job.js
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,7 @@ describe("Job", () => {
it("handles errors with q promises", async () => {
job.attrs.name = "failBoat2";
agenda.define("failBoat2", (job, cb) => {
Q.delay(100)
delay(100)
.then(() => {
// eslint-disable-line
throw new Error("Zomg fail");
Expand Down

0 comments on commit 78e4f95

Please sign in to comment.