1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
| module.exports = function(grunt) {
| grunt.initConfig({
| simplemocha: {
| all: {
| src: ['test/**/*.js'],
| options: {
| globals: ['should'],
| timeout: 3000,
| ignoreLeaks: false,
| grep: '*-test',
| ui: 'bdd',
| reporter: 'tap'
| }
| }
| }
| });
|
| // For this to work, you need to have run `npm install grunt-simple-mocha`
| grunt.loadNpmTasks('grunt-simple-mocha');
|
| // Add a default task.
| grunt.registerTask('default', 'simplemocha');
| };
|
|