1
0
Fork 0
mirror of synced 2024-09-29 16:51:33 +13:00

Fixing automation test case.

This commit is contained in:
mike12345567 2021-05-20 12:07:07 +01:00
parent e15137b37d
commit 53d5480aad

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