Avoid timing issue in tests because of the bad test helper
This commit is contained in:
parent
0130a163b8
commit
3d7fa3af43
@ -52,8 +52,6 @@ exports.nospawn = {
|
|||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
grunt.file.write(path.join(cwd, 'lib', 'interrupt.js'), write);
|
grunt.file.write(path.join(cwd, 'lib', 'interrupt.js'), write);
|
||||||
}, 1000);
|
}, 1000);
|
||||||
}, function() {
|
|
||||||
// Two functions needed to run two rounds of watching
|
|
||||||
}], function(result) {
|
}], function(result) {
|
||||||
helper.verboseLog(result);
|
helper.verboseLog(result);
|
||||||
var count = result.match(new RegExp('Running "long" task', 'g')).length;
|
var count = result.match(new RegExp('Running "long" task', 'g')).length;
|
||||||
|
Loading…
Reference in New Issue
Block a user