add on() to mock queue

This commit is contained in:
Rory Powell 2022-08-20 11:42:51 +01:00
parent 30901eb24e
commit 917bb96ae6
1 changed files with 4 additions and 0 deletions

View File

@ -113,6 +113,10 @@ class InMemoryQueue {
async getJob() {
return {}
}
on() {
// do nothing
}
}
module.exports = InMemoryQueue