diff --git a/CHANGELOG.md b/CHANGELOG.md index 2959ad28f09f..bff5af76ca9e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,8 @@ ### Fixes +* `[babel-jest]` Remove retainLines from babel-jest + ([#5326](https://github.com/facebook/jest/issues/5326)) * `[jest-cli]` Glob patterns ignore non-`require`-able files (e.g. `README.md`) ([#5199](https://github.com/facebook/jest/issues/5199)) * `[jest-mock]` Add backticks support (\`\`) to `mock` a certain package via the diff --git a/packages/babel-jest/src/index.js b/packages/babel-jest/src/index.js index 4dd71bacbe87..647b56a1ae98 100644 --- a/packages/babel-jest/src/index.js +++ b/packages/babel-jest/src/index.js @@ -69,7 +69,6 @@ const createTransformer = (options: any) => { options = Object.assign({}, options, { plugins: (options && options.plugins) || [], presets: ((options && options.presets) || []).concat([jestPreset]), - retainLines: true, sourceMaps: 'inline', }); delete options.cacheDirectory;