Skip to content

Commit e39a318

Browse files
committed
Use grunt-contrib-nodeunit
1 parent 15db2c5 commit e39a318

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

Gruntfile.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff 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
};

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"node": ">= 0.6.0"
2727
},
2828
"scripts": {
29-
"test": "grunt test"
29+
"test": "grunt nodeunit"
3030
},
3131
"devDependencies": {
3232
"grunt": "^0.4.5",

0 commit comments

Comments
 (0)