Avoid timing issue in tests because of the bad test helper

This commit is contained in:
Kyle Robinson Young 2016-06-14 21:42:02 -07:00
parent 0130a163b8
commit 3d7fa3af43

View File

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