Make the fixture tasks run a little longer so the watch thinks it did something.
This commit is contained in:
parent
f8a7b3cebe
commit
188ec9f10e
8
test/fixtures/fail/Gruntfile.js
vendored
8
test/fixtures/fail/Gruntfile.js
vendored
@ -21,9 +21,17 @@ module.exports = function(grunt) {
|
||||
grunt.loadTasks('../../../tasks');
|
||||
|
||||
grunt.registerTask('warn', function() {
|
||||
var done = this.async();
|
||||
setTimeout(function() {
|
||||
grunt.warn('This task should warn!');
|
||||
done();
|
||||
}, 1);
|
||||
});
|
||||
grunt.registerTask('fatal', function() {
|
||||
var done = this.async();
|
||||
setTimeout(function() {
|
||||
grunt.fatal('This task should be fatal!');
|
||||
done();
|
||||
}, 1);
|
||||
});
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user