fix test suite in gruntfile
This commit is contained in:
parent
cd8937fbf4
commit
5db6cf24ec
@ -74,9 +74,9 @@ module.exports = function(grunt) {
|
|||||||
|
|
||||||
// Whenever the "test" task is run, first clean the "tmp" dir, then run this
|
// Whenever the "test" task is run, first clean the "tmp" dir, then run this
|
||||||
// plugin's task(s), then test the result.
|
// plugin's task(s), then test the result.
|
||||||
grunt.registerTask('test', ['nodeunit']);
|
grunt.registerTask('test', ['clean', 'jst', 'nodeunit']);
|
||||||
|
|
||||||
// By default, lint and run all tests.
|
// By default, lint and run all tests.
|
||||||
grunt.registerTask('default', ['jst', 'test', 'build-contrib']);
|
grunt.registerTask('default', ['jshint', 'test', 'build-contrib']);
|
||||||
|
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user