1 | ;
|
2 |
|
3 | module.exports = function (grunt) {
|
4 | require('time-grunt')(grunt);
|
5 |
|
6 | grunt.initConfig({
|
7 | mochaTest: {
|
8 | notify: {
|
9 | src: 'test/**/*.test.js',
|
10 | options: {
|
11 | reporter: 'spec'
|
12 | }
|
13 | }
|
14 | }
|
15 | });
|
16 |
|
17 | require('load-grunt-tasks')(grunt);
|
18 |
|
19 | grunt.registerTask('test', [
|
20 | 'mochaTest'
|
21 | ]);
|
22 |
|
23 | grunt.registerTask('default', [
|
24 | 'test'
|
25 | ]);
|
26 | };
|