Commit c8d2da68 authored by Bertrand Marron's avatar Bertrand Marron Committed by Tim Neutkens

Use "preset-env" option to configure env preset in with-jest example (#3424)

parent 4cab5228
...@@ -7,7 +7,13 @@ ...@@ -7,7 +7,13 @@
"presets": ["next/babel"] "presets": ["next/babel"]
}, },
"test": { "test": {
"presets": [["env", { "modules": "commonjs" }], "next/babel"] "presets": [
["next/babel", {
"preset-env": {
"modules": "commonjs"
}
}]
]
} }
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment