Skip to content

Commit

Permalink
Ensure tests fail when there are leaks.
Browse files Browse the repository at this point in the history
Resolves #196
  • Loading branch information
jamesplease committed Oct 9, 2015
1 parent f35fdd4 commit 9bab337
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion app/templates/gulpfile.babel.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,11 @@ function _browserifyBundle() {

function _mocha() {
return gulp.src(['test/setup/node.js', 'test/unit/**/*.js'], {read: false})
.pipe($.mocha({reporter: 'dot', globals: config.mochaGlobals}));
.pipe($.mocha({
reporter: 'dot',
globals: config.mochaGlobals,
ignoreLeaks: false
}));
}

function _registerBabel() {
Expand Down

0 comments on commit 9bab337

Please sign in to comment.