Skip to content

Commit

Permalink
chore: target node 8.3, not 8.0 (#9827)
Browse files Browse the repository at this point in the history
  • Loading branch information
SimenB committed Apr 16, 2020
1 parent fcfe7cd commit cab4c1d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Expand Up @@ -15,6 +15,7 @@
### Chore & Maintenance

- `[*]` Do not generate TypeScript declaration source maps ([#9822](https://github.com/facebook/jest/pull/9822))
- `[*]` Transpile code for Node 8.3, not 8.0 ([#9827](https://github.com/facebook/jest/pull/9827))

### Performance

Expand Down
4 changes: 2 additions & 2 deletions babel.config.js
Expand Up @@ -31,7 +31,7 @@ module.exports = {
{
exclude: ['@babel/plugin-proposal-dynamic-import'],
shippedProposals: true,
targets: {node: 8},
targets: {node: '8.3'},
},
],
],
Expand All @@ -48,7 +48,7 @@ module.exports = {
'@babel/preset-env',
{
shippedProposals: true,
targets: {node: 8},
targets: {node: '8.3'},
},
],
],
Expand Down
2 changes: 1 addition & 1 deletion e2e/__tests__/__snapshots__/transform.test.ts.snap
Expand Up @@ -6,7 +6,7 @@ FAIL __tests__/ignoredFile.test.js
babel-jest: Babel ignores __tests__/ignoredFile.test.js - make sure to include the file in Jest's transformIgnorePatterns as well.
at loadBabelConfig (../../../packages/babel-jest/build/index.js:227:13)
at loadBabelConfig (../../../packages/babel-jest/build/index.js:178:13)
`;

exports[`babel-jest instruments only specific files and collects coverage 1`] = `
Expand Down

0 comments on commit cab4c1d

Please sign in to comment.