Skip to content

Commit cb1c3f7

Browse files
jedmaonovemberborn
authored andcommitted
Fix documentation of snapshotDir option
Fixes #1580
1 parent c41b2af commit cb1c3f7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

readme.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ Arguments passed to the CLI will always take precedence over the configuration i
285285
- `failFast`: stop running further tests once a test fails
286286
- `failWithoutAssertions`: if `false`, does not fail a test if it doesn't run [assertions](#assertions)
287287
- `tap`: if `true`, enables the [TAP reporter](#tap-reporter)
288-
- `snapshotLocation`: specifies a fixed location for storing snapshot files. Use this if your snapshots are ending up in the wrong location
288+
- `snapshotDir`: specifies a fixed location for storing snapshot files. Use this if your snapshots are ending up in the wrong location
289289
- `powerAssert`: if `false`, disables [power-assert](https://github.com/power-assert-js/power-assert) which otherwise helps provide more descriptive error messages
290290
- `require`: extra modules to require before tests are run. Modules are required in the [worker processes](#process-isolation)
291291
- `babel`: test file specific Babel options. See [ES2017 support](#es2017-support) for more details
@@ -1065,7 +1065,7 @@ You can specify a fixed location for storing the snapshot files in AVA's [`packa
10651065
```json
10661066
{
10671067
"ava": {
1068-
"snapshotLocation": "custom-directory"
1068+
"snapshotDir": "custom-directory"
10691069
}
10701070
}
10711071
```

0 commit comments

Comments
 (0)