add on() to mock queue
This commit is contained in:
parent
76bd1e0336
commit
ec33a47999
|
@ -113,6 +113,10 @@ class InMemoryQueue {
|
|||
async getJob() {
|
||||
return {}
|
||||
}
|
||||
|
||||
on() {
|
||||
// do nothing
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = InMemoryQueue
|
||||
|
|
Loading…
Reference in New Issue