File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -3,8 +3,8 @@ module.exports = function(grunt) {
3
3
// Project configuration.
4
4
grunt . initConfig ( {
5
5
pkg : '<json:package.json>' ,
6
- test : {
7
- files : [ 'test/**/*.js' ]
6
+ nodeunit : {
7
+ all : [ 'test/**/*.js' ]
8
8
} ,
9
9
lint : {
10
10
files : [ 'grunt.js' , 'lib/**/*.js' , 'test/**/*.js' ]
@@ -33,7 +33,8 @@ module.exports = function(grunt) {
33
33
}
34
34
} ) ;
35
35
36
+ grunt . loadNpmTasks ( 'grunt-contrib-nodeunit' ) ;
36
37
// Default task.
37
- grunt . registerTask ( 'default' , 'test ' ) ;
38
+ grunt . registerTask ( 'default' , 'nodeunit ' ) ;
38
39
39
40
} ;
Original file line number Diff line number Diff line change 26
26
"node" : " >= 0.6.0"
27
27
},
28
28
"scripts" : {
29
- "test" : " grunt test "
29
+ "test" : " grunt nodeunit "
30
30
},
31
31
"devDependencies" : {
32
32
"grunt" : " ^0.4.5" ,
You can’t perform that action at this time.
0 commit comments