diff --git a/docs/recipes/babelrc.md b/docs/recipes/babelrc.md index 2e2604fe2..0a4073367 100644 --- a/docs/recipes/babelrc.md +++ b/docs/recipes/babelrc.md @@ -36,6 +36,8 @@ You can override the default Babel configuration AVA uses for test transpilation } ``` +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). + ## Use Babel Polyfills 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.