Skip to content

Commit

Permalink
Pass babel compiler into mocha module
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanio committed Dec 15, 2017
1 parent 53258a2 commit 6d073e4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion gulpTasks/testing.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ gulp.task('test', () => {
]).pipe(mocha({
timeout: 60000,
ui: 'exports',
reporter: 'spec'
reporter: 'spec',
compilers: [
'js:babel-core/register',
]
}));
});

0 comments on commit 6d073e4

Please sign in to comment.