Skip to content

Commit

Permalink
reintroduce @babel/preset-env just for one single test with jest
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentfretin committed Sep 17, 2024
1 parent e9eaf6f commit f8f9035
Show file tree
Hide file tree
Showing 3 changed files with 1,784 additions and 276 deletions.
7 changes: 6 additions & 1 deletion .babelrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
{
"presets": [["@babel/preset-react", {"runtime": "automatic"}]]
"env": {
"testing": {
"presets": [["@babel/preset-env", { "targets": { "node": "current" } }]]
}
},
"presets": [["@babel/preset-react", { "runtime": "automatic" }]]
}
Loading

0 comments on commit f8f9035

Please sign in to comment.