From a61ac1dfd997218d832ff0301e8c397f0dd7ab46 Mon Sep 17 00:00:00 2001 From: Ilkwon Sim Date: Sun, 3 Feb 2019 18:55:20 +0900 Subject: [PATCH] Fix broken link for inline snapshots (#7785) --- docs/ExpectAPI.md | 4 ++-- website/versioned_docs/version-23.x/ExpectAPI.md | 4 ++-- website/versioned_docs/version-24.0/ExpectAPI.md | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/ExpectAPI.md b/docs/ExpectAPI.md index 756f58a7e9ac..aae714b09239 100644 --- a/docs/ExpectAPI.md +++ b/docs/ExpectAPI.md @@ -1127,7 +1127,7 @@ _Note: While snapshot testing is most commonly used with React components, any s Ensures that a value matches the most recent snapshot. Unlike [`.toMatchSnapshot()`](#tomatchsnapshotpropertymatchers-snapshotname), the snapshots will be written to the current source file, inline. -Check out the section on [Inline Snapshots](./SnapshotTesting.md#inline-snapshots) for more info. +Check out the section on [Inline Snapshots](SnapshotTesting.md#inline-snapshots) for more info. ### `.toStrictEqual(value)` @@ -1246,4 +1246,4 @@ Check out [React Tree Snapshot Testing](https://jestjs.io/blog/2016/07/27/jest-1 This matcher is much like [`.toThrowErrorMatchingSnapshot`](#tothrowerrormatchingsnapshot), except instead of writing the snapshot value to a `.snap` file, it will be written into the source code automatically. -Check out the section on [Inline Snapshots](./SnapshotTesting.md#inline-snapshots) for more info. +Check out the section on [Inline Snapshots](SnapshotTesting.md#inline-snapshots) for more info. diff --git a/website/versioned_docs/version-23.x/ExpectAPI.md b/website/versioned_docs/version-23.x/ExpectAPI.md index 5b7011fcb2e3..ad9585b84293 100644 --- a/website/versioned_docs/version-23.x/ExpectAPI.md +++ b/website/versioned_docs/version-23.x/ExpectAPI.md @@ -1117,7 +1117,7 @@ _Note: While snapshot testing is most commonly used with React components, any s Ensures that a value matches the most recent snapshot. Unlike [`.toMatchSnapshot()`](#tomatchsnapshotpropertymatchers-snapshotname), the snapshots will be written to the current source file, inline. -Check out the section on [Inline Snapshots](./SnapshotTesting.md#inline-snapshots) for more info. +Check out the section on [Inline Snapshots](SnapshotTesting.md#inline-snapshots) for more info. ### `.toStrictEqual(value)` @@ -1227,4 +1227,4 @@ Check out [React Tree Snapshot Testing](https://jestjs.io/blog/2016/07/27/jest-1 This matcher is much like [`.toThrowErrorMatchingSnapshot`](#tothrowerrormatchingsnapshot), except instead of writing the snapshot value to a `.snap` file, it will be written into the source code automatically. -Check out the section on [Inline Snapshots](./SnapshotTesting.md#inline-snapshots) for more info. +Check out the section on [Inline Snapshots](SnapshotTesting.md#inline-snapshots) for more info. diff --git a/website/versioned_docs/version-24.0/ExpectAPI.md b/website/versioned_docs/version-24.0/ExpectAPI.md index caa677a58436..6ad2f0fef75d 100644 --- a/website/versioned_docs/version-24.0/ExpectAPI.md +++ b/website/versioned_docs/version-24.0/ExpectAPI.md @@ -1128,7 +1128,7 @@ _Note: While snapshot testing is most commonly used with React components, any s Ensures that a value matches the most recent snapshot. Unlike [`.toMatchSnapshot()`](#tomatchsnapshotpropertymatchers-snapshotname), the snapshots will be written to the current source file, inline. -Check out the section on [Inline Snapshots](./SnapshotTesting.md#inline-snapshots) for more info. +Check out the section on [Inline Snapshots](SnapshotTesting.md#inline-snapshots) for more info. ### `.toStrictEqual(value)` @@ -1247,4 +1247,4 @@ Check out [React Tree Snapshot Testing](https://jestjs.io/blog/2016/07/27/jest-1 This matcher is much like [`.toThrowErrorMatchingSnapshot`](#tothrowerrormatchingsnapshot), except instead of writing the snapshot value to a `.snap` file, it will be written into the source code automatically. -Check out the section on [Inline Snapshots](./SnapshotTesting.md#inline-snapshots) for more info. +Check out the section on [Inline Snapshots](SnapshotTesting.md#inline-snapshots) for more info.