Skip to content

Commit c202a74

Browse files
committed
Stop reading .babelrc files.
If a `.babelrc` file is present, it is being read, and the settings merged with the ones we specify for tests. We don't want that. Reference: http://babeljs.io/docs/usage/options/
1 parent f696271 commit c202a74

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

lib/test-worker.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@ var send = require('./send');
5151

5252
// if generators are not supported, use regenerator
5353
var options = {
54-
sourceMaps: true
54+
sourceMaps: true,
55+
babelrc: false
5556
};
5657

5758
// check if test files required ava and show error, when they didn't

0 commit comments

Comments
 (0)