Skip to content

Commit

Permalink
[5.x] Use node instead of webpack config for jest
Browse files Browse the repository at this point in the history
Backports PR elastic#12974
  • Loading branch information
weltenwort committed Jul 21, 2017
1 parent 483db04 commit c75c367
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jest/babelTransform.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const babelJest = require('babel-jest');
const options = require('../optimize/babel/options');

const babelOptions = options.webpack;
const babelOptions = options.node;

module.exports = babelJest.createTransformer(babelOptions);

0 comments on commit c75c367

Please sign in to comment.