From 7d10446e91706e65e5fc6b6286b2279c29ef9615 Mon Sep 17 00:00:00 2001 From: Jingsong Gao Date: Thu, 14 Feb 2019 16:22:46 +0800 Subject: [PATCH] Fix link to Babel recipe --- docs/06-configuration.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/06-configuration.md b/docs/06-configuration.md index 552742604..bfa203ec8 100644 --- a/docs/06-configuration.md +++ b/docs/06-configuration.md @@ -60,7 +60,7 @@ Arguments passed to the CLI will always take precedence over the CLI options con - `compileEnhancements`: if `false`, disables [power-assert](https://github.com/power-assert-js/power-assert) — which otherwise helps provide more descriptive error messages — and detection of improper use of the `t.throws()` assertion - `extensions`: extensions of test files that are not precompiled using AVA's Babel presets. Note that files are still compiled to enable power-assert and other features, so you may also need to set `compileEnhancements` to `false` if your files are not valid JavaScript. Setting this overrides the default `"js"` value, so make sure to include that extension in the list, as long as it's not included in `babel.extensions` - `require`: extra modules to require before tests are run. Modules are required in the [worker processes](./01-writing-tests.md#process-isolation) -- `babel`: test file specific Babel options. See our [Babel recipe] for more details +- `babel`: test file specific Babel options. See our [Babel recipe](./recipes/babel.md#configuring-babel) for more details - `babel.extensions`: extensions of test files that will be precompiled using AVA's Babel presets. Setting this overrides the default `"js"` value, so make sure to include that extension in the list Note that providing files on the CLI overrides the `files` option. If you've configured a glob pattern, for instance `test/**/*.test.js`, you may want to repeat it when using the CLI: `ava 'test/integration/*.test.js'`.