Skip to content

Commit

Permalink
fix: Fix failing empty-sourcemap test
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark1626 committed Nov 15, 2020
1 parent cc4a214 commit 4661c8b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
10 changes: 9 additions & 1 deletion e2e/v8-coverage/empty-sourcemap/babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,13 @@
*/

module.exports = {
presets: ['@babel/preset-env', '@babel/preset-typescript'],
presets: [
['@babel/preset-typescript'],
[
'@babel/preset-env',
{
targets: {node: 8},
},
],
],
};
5 changes: 1 addition & 4 deletions e2e/v8-coverage/no-sourcemap/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@
"transform": {
"\\.[jt]sx?$": "babel-jest",
"\\.css$": "<rootDir>/cssTransform.js"
},
"transformIgnorePatterns": [
"jest-environment-node"
]
}
}
}

0 comments on commit 4661c8b

Please sign in to comment.