Skip to content

Commit 2fb02f6

Browse files
authored
Upgrade to Babel 7
AVA can now detect when its stage-4 preset is disabled in extended config. Fixes #1921.
1 parent 40be597 commit 2fb02f6

File tree

4 files changed

+471
-444
lines changed

4 files changed

+471
-444
lines changed

docs/recipes/babel.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ You can disable AVA's stage-4 preset:
9292

9393
Note that this *does not* stop AVA from compiling your test files using Babel.
9494

95-
You **must** disable the preset by configuring it in the `testOptions`. AVA will still apply the preset if you configure it in other files (for instance a `.babelrc` file). This is [due to a Babel issue](https://github.com/babel/babel/issues/7920).
95+
If you want, you can disable the preset in your project's Babel configuration.
9696

9797
## Preserve ES module syntax
9898

0 commit comments

Comments
 (0)