Skip to content

Commit

Permalink
fix babel test env
Browse files Browse the repository at this point in the history
  • Loading branch information
nandomoreirame committed Dec 14, 2019
1 parent fb073fe commit fab0cc9
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 7 deletions.
25 changes: 21 additions & 4 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,7 +1,24 @@
{
"presets": [
["@babel/env", {
"modules": false
}]
]
[
"@babel/preset-env",
{
"modules": false
}
]
],
"env": {
"test": {
"presets": [
[
"@babel/preset-env",
{
"targets": {
"node": "current"
}
}
]
]
}
}
}
3 changes: 0 additions & 3 deletions babel.config.js

This file was deleted.

0 comments on commit fab0cc9

Please sign in to comment.