From c55574306bf917f6f83bb96e9f2176f2a89c4ced Mon Sep 17 00:00:00 2001 From: Cristi Cimpianu Date: Mon, 19 Feb 2018 11:56:58 +0200 Subject: [PATCH] fixed unit test after adding cronTime timezone --- test/capability.spec.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/capability.spec.js b/test/capability.spec.js index c8d84b2..300f340 100644 --- a/test/capability.spec.js +++ b/test/capability.spec.js @@ -184,7 +184,6 @@ describe('Queue Scheduling Capabilities', function () { it('should be able to compute next run from cron interval', function (done) { var lastRun = new Date(); - lastRun.setSeconds(0); Queue._computeNextRunTime({ reccurInterval: '* * * * * *', @@ -233,4 +232,4 @@ describe('Queue Scheduling Capabilities', function () { }); }); -}); \ No newline at end of file +});