Skip to content

Commit

Permalink
Fix typos in snapshotResolver configuration docs (#7773)
Browse files Browse the repository at this point in the history
  • Loading branch information
macklinu authored and SimenB committed Feb 1, 2019
1 parent 242f3bc commit 4bfcb5b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/Configuration.md
Expand Up @@ -730,7 +730,7 @@ _Note: `setupTestFrameworkScriptFile` is deprecated in favor of `setupFilesAfter

Default: `undefined`

The path to a module that can resolve test<->snapshot path. This config option lets you customize where Jest stores that snapshot files on disk.
The path to a module that can resolve test<->snapshot path. This config option lets you customize where Jest stores snapshot files on disk.

Example snapshot resolver module:

Expand All @@ -746,7 +746,7 @@ module.exports = {
.replace('__snapshots__', '__tests__')
.slice(0, -snapshotExtension.length),

// Example test path, used for preflight concistency check of the implementation above
// Example test path, used for preflight consistency check of the implementation above
testPathForConsistencyCheck: 'some/__tests__/example.test.js',
};
```
Expand Down
4 changes: 2 additions & 2 deletions website/versioned_docs/version-24.0/Configuration.md
Expand Up @@ -725,7 +725,7 @@ _Note: `setupTestFrameworkScriptFile` is deprecated in favor of `setupFilesAfter

Default: `undefined`

The path to a module that can resolve test<->snapshot path. This config option lets you customize where Jest stores that snapshot files on disk.
The path to a module that can resolve test<->snapshot path. This config option lets you customize where Jest stores snapshot files on disk.

Example snapshot resolver module:

Expand All @@ -741,7 +741,7 @@ module.exports = {
.replace('__snapshots__', '__tests__')
.slice(0, -snapshotExtension.length),

// Example test path, used for preflight concistency check of the implementation above
// Example test path, used for preflight consistency check of the implementation above
testPathForConsistencyCheck: 'some/__tests__/example.test.js',
};
```
Expand Down

0 comments on commit 4bfcb5b

Please sign in to comment.