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) {
33 // Project configuration.
44 grunt . initConfig ( {
55 pkg : '<json:package.json>' ,
6- test : {
7- files : [ 'test/**/*.js' ]
6+ nodeunit : {
7+ all : [ 'test/**/*.js' ]
88 } ,
99 lint : {
1010 files : [ 'grunt.js' , 'lib/**/*.js' , 'test/**/*.js' ]
@@ -33,7 +33,8 @@ module.exports = function(grunt) {
3333 }
3434 } ) ;
3535
36+ grunt . loadNpmTasks ( 'grunt-contrib-nodeunit' ) ;
3637 // Default task.
37- grunt . registerTask ( 'default' , 'test ' ) ;
38+ grunt . registerTask ( 'default' , 'nodeunit ' ) ;
3839
3940} ;
Original file line number Diff line number Diff line change 2626 "node" : " >= 0.6.0"
2727 },
2828 "scripts" : {
29- "test" : " grunt test "
29+ "test" : " grunt nodeunit "
3030 },
3131 "devDependencies" : {
3232 "grunt" : " ^0.4.5" ,
You can’t perform that action at this time.
0 commit comments