Skip to content

Commit

Permalink
set babel env for jest
Browse files Browse the repository at this point in the history
  • Loading branch information
salvatore-fxpig committed May 14, 2020
1 parent 23dea72 commit 2f30aa8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ module.exports = function babelConfig(api) {
"@babel/preset-env",
{
useBuiltIns: false, // use the full lib to make sure vendor bundle stays stable
targets: "cover 95%",
targets: !api.env('test') ? "cover 95%" : { node: 'current' },
bugfixes: true
}
],
Expand Down

0 comments on commit 2f30aa8

Please sign in to comment.