Fixing automation test case.
This commit is contained in:
parent
e15137b37d
commit
53d5480aad
|
@ -73,6 +73,14 @@ class InMemoryQueue {
|
||||||
this._messages.push(newJob(this._name, msg))
|
this._messages.push(newJob(this._name, msg))
|
||||||
this._emitter.emit("message")
|
this._emitter.emit("message")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This removes a cron which has been implemented, this is part of Bull API.
|
||||||
|
* @param {string} cronJobId The cron which is to be removed.
|
||||||
|
*/
|
||||||
|
removeRepeatableByKey(cronJobId) {
|
||||||
|
// TODO: implement for testing
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
module.exports = InMemoryQueue
|
module.exports = InMemoryQueue
|
||||||
|
|
Loading…
Reference in New Issue