fix(core): update
This commit is contained in:
parent
ff16b70206
commit
f1d7771e30
@ -12,7 +12,7 @@ tap.test('should create a valid instance of cronmanager', async () => {
|
|||||||
tap.test('should create a valid cronJon', async (tools) => {
|
tap.test('should create a valid cronJon', async (tools) => {
|
||||||
const done = tools.defer();
|
const done = tools.defer();
|
||||||
let counter = 0;
|
let counter = 0;
|
||||||
testCronManager.addCronjob('*/2 * * * * *', () => {
|
testCronManager.addCronjob('*/2 * * * * *', async () => {
|
||||||
if (counter === 10) {
|
if (counter === 10) {
|
||||||
done.resolve();
|
done.resolve();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user