Skip to content

Commit fde334e

Browse files
committed
Switch from deprecated Babel compilers to require
1 parent 407d93c commit fde334e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

gulpfile.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,8 @@ gulp.task('test-script-format', () => (
2929
gulp.task('test-mocha', ['test-script-format'], () => (
3030
gulp.src(['./test/**/*.js'])
3131
.pipe(mocha({
32-
compilers: [
33-
'js:babel-core/register',
34-
],
3532
require: [
33+
'babel-register',
3634
'./test/setup.js',
3735
],
3836
}))

0 commit comments

Comments
 (0)