Skip to content

Commit 827a9ec

Browse files
committed
set mocha to be recursive
1 parent 3153770 commit 827a9ec

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

gulpfile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ gulp.task('default', function(){
2626
});
2727

2828
gulp.task('test', function() {
29-
gulp.src('./test/**/*.js', {read: false})
29+
gulp.src('./test', {read: false})
3030
// `gulp-mocha` needs filepaths so you can't have any plugins before it
3131
.pipe(mocha({reporter: 'spec'}));
3232
}

test/mocha.opts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
--recursive

0 commit comments

Comments
 (0)