add on() to mock queue
This commit is contained in:
parent
30901eb24e
commit
917bb96ae6
1 changed files with 4 additions and 0 deletions
|
@ -113,6 +113,10 @@ class InMemoryQueue {
|
|||
async getJob() {
|
||||
return {}
|
||||
}
|
||||
|
||||
on() {
|
||||
// do nothing
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = InMemoryQueue
|
||||
|
|
Loading…
Reference in a new issue