Skip to content

Commit 277c16b

Browse files
committed
chore(grunt): Run tests with the dot reporter, but use the spec reporter when grepping
1 parent fff463e commit 277c16b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Gruntfile.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ module.exports = function(grunt) {
4242
bail: grunt.option('bail'),
4343
colors: true,
4444
require: ['should', 'should-sinon'],
45+
reporter: grunt.option('grep') ? 'spec' : 'dot',
4546
},
4647
},
4748

@@ -60,7 +61,7 @@ module.exports = function(grunt) {
6061
},
6162
},
6263
options: {
63-
mochaOptions: ['--colors'],
64+
mochaOptions: ['--colors', '--reporter', 'dot'],
6465
require: ['should', 'should-sinon'],
6566
},
6667
},

0 commit comments

Comments
 (0)