Skip to content

Commit 93e91c9

Browse files
vlajosnovemberborn
authored andcommitted
Fix 'sources' option in configuration docs
1 parent 3bc80b0 commit 93e91c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/06-configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ Arguments passed to the CLI will always take precedence over the configuration i
4747
## Options
4848

4949
- `files`: file & directory paths and glob patterns that select which files AVA will run tests from. Files with an underscore prefix are ignored. All matched files in selected directories are run. By default only selects files with `js` extensions, even if the glob pattern matches other files. Specify `extensions` and `babel.extensions` to allow other file extensions
50-
- `source`: files that, when changed, cause tests to be re-run in watch mode. See the [watch mode recipe for details](https://github.com/avajs/ava/blob/master/docs/recipes/watch-mode.md#source-files-and-test-files)
50+
- `sources`: files that, when changed, cause tests to be re-run in watch mode. See the [watch mode recipe for details](https://github.com/avajs/ava/blob/master/docs/recipes/watch-mode.md#source-files-and-test-files)
5151
- `match`: not typically useful in the `package.json` configuration, but equivalent to [specifying `--match` on the CLI](./05-command-line.md#running-tests-with-matching-titles)
5252
- `cache`: cache compiled test and helper files under `node_modules/.cache/ava`. If `false`, files are cached in a temporary directory instead
5353
- `failFast`: stop running further tests once a test fails

0 commit comments

Comments
 (0)