From 4bfcb5b87c9ca83f9af41223670f1eb297789a39 Mon Sep 17 00:00:00 2001 From: mackie Date: Fri, 1 Feb 2019 00:21:16 -0800 Subject: [PATCH] Fix typos in snapshotResolver configuration docs (#7773) --- docs/Configuration.md | 4 ++-- website/versioned_docs/version-24.0/Configuration.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/Configuration.md b/docs/Configuration.md index d95635b609d1..4a90737f9258 100644 --- a/docs/Configuration.md +++ b/docs/Configuration.md @@ -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: @@ -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', }; ``` diff --git a/website/versioned_docs/version-24.0/Configuration.md b/website/versioned_docs/version-24.0/Configuration.md index 33767998d322..7f44e709df99 100644 --- a/website/versioned_docs/version-24.0/Configuration.md +++ b/website/versioned_docs/version-24.0/Configuration.md @@ -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: @@ -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', }; ```