Skip to content

Commit

Permalink
Fix mocha deprecation warning for --compilers parmeter
Browse files Browse the repository at this point in the history
DeprecationWarning: "--compilers" will be removed in a future version of
Mocha; see https://git.io/vdcSr for more info
  • Loading branch information
dgolovin committed Mar 22, 2018
1 parent e96f9f5 commit 999f5b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gulp-tasks/tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ module.exports = function(gulp) {
read: false
}).pipe(mocha({
recursive: false,
compilers: 'js:babel-core/register',
require: 'babel-core/register',
env: {
NODE_PATH: '.'
},
Expand All @@ -38,7 +38,7 @@ module.exports = function(gulp) {
read: false
}).pipe(mocha({
recursive: true,
compilers: 'js:babel-core/register',
require: 'babel-core/register',
env: {
NODE_PATH: '.'
},
Expand Down

0 comments on commit 999f5b7

Please sign in to comment.