Skip to content

Commit

Permalink
Fix documentation of snapshotDir option
Browse files Browse the repository at this point in the history
Fixes #1580
  • Loading branch information
jedmao authored and novemberborn committed Nov 8, 2017
1 parent c41b2af commit cb1c3f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions readme.md
Expand Up @@ -285,7 +285,7 @@ Arguments passed to the CLI will always take precedence over the configuration i
- `failFast`: stop running further tests once a test fails
- `failWithoutAssertions`: if `false`, does not fail a test if it doesn't run [assertions](#assertions)
- `tap`: if `true`, enables the [TAP reporter](#tap-reporter)
- `snapshotLocation`: specifies a fixed location for storing snapshot files. Use this if your snapshots are ending up in the wrong location
- `snapshotDir`: specifies a fixed location for storing snapshot files. Use this if your snapshots are ending up in the wrong location
- `powerAssert`: if `false`, disables [power-assert](https://github.com/power-assert-js/power-assert) which otherwise helps provide more descriptive error messages
- `require`: extra modules to require before tests are run. Modules are required in the [worker processes](#process-isolation)
- `babel`: test file specific Babel options. See [ES2017 support](#es2017-support) for more details
Expand Down Expand Up @@ -1065,7 +1065,7 @@ You can specify a fixed location for storing the snapshot files in AVA's [`packa
```json
{
"ava": {
"snapshotLocation": "custom-directory"
"snapshotDir": "custom-directory"
}
}
```
Expand Down

0 comments on commit cb1c3f7

Please sign in to comment.