Fixing automation test case.

This commit is contained in:
mike12345567 2021-05-20 12:07:07 +01:00
parent e15137b37d
commit 53d5480aad
1 changed files with 8 additions and 0 deletions

View File

@ -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