"Up top" we have...
mocha: {
test: {
src: ['whatever.html'],
options: {
log: true,
reporter: 'Dot',
run: false
}
}
},
Farther down...
grunt.loadNpmTasks('grunt-mocha');
Farther down yet is a task to be called in a target:
grunt.registerTask('test', 'mocha');
No comments:
Post a Comment