From 3d7fa3af43ef120ffdf2b4c16ef80d2cd8df53ef Mon Sep 17 00:00:00 2001 From: Kyle Robinson Young Date: Tue, 14 Jun 2016 21:42:02 -0700 Subject: [PATCH] Avoid timing issue in tests because of the bad test helper --- test/tasks/nospawn_test.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/test/tasks/nospawn_test.js b/test/tasks/nospawn_test.js index 12c7deb..f93cfa8 100644 --- a/test/tasks/nospawn_test.js +++ b/test/tasks/nospawn_test.js @@ -52,8 +52,6 @@ exports.nospawn = { setTimeout(function() { grunt.file.write(path.join(cwd, 'lib', 'interrupt.js'), write); }, 1000); - }, function() { - // Two functions needed to run two rounds of watching }], function(result) { helper.verboseLog(result); var count = result.match(new RegExp('Running "long" task', 'g')).length;