blob: acd32763bc96b49c644d4917b1806e966d4df994 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
module.exports = function(grunt) {
grunt.loadNpmTasks('grunt-mocha-test');
// Project configuration.
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
mochaTest: {
test: {
options: {
reporter: 'spec'
},
src: ['test/*.js']
}
}
});
grunt.registerTask('test', ['mochaTest:test']);
};
|