You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/recipes/babelrc.md
+2
Original file line number
Diff line number
Diff line change
@@ -36,6 +36,8 @@ You can override the default Babel configuration AVA uses for test transpilation
36
36
}
37
37
```
38
38
39
+
Note that this only affects how AVA transpiles your tests. If you use `babel-register` you'll still need to add separate Babel configuration as explained [here](#transpiling-sources).
40
+
39
41
## Use Babel Polyfills
40
42
41
43
AVA lets you write your tests using new JavaScript syntax, even on Node.js versions that otherwise wouldn't support it. However, it doesn't add or modify built-ins of your current environment. Using AVA would, for example, not provide modern features such as `Array.prototype.includes()` to an underlying Node.js 4 environment.
0 commit comments