add on() to mock queue

This commit is contained in:
Rory Powell 2022-08-20 11:42:51 +01:00
parent 76bd1e0336
commit ec33a47999
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