Skip to content

Commit

Permalink
Fix broken link for inline snapshots (#7785)
Browse files Browse the repository at this point in the history
  • Loading branch information
simsim0709 authored and SimenB committed Feb 3, 2019
1 parent 4ea8462 commit a61ac1d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions docs/ExpectAPI.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)`

Expand Down Expand Up @@ -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.
4 changes: 2 additions & 2 deletions website/versioned_docs/version-23.x/ExpectAPI.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)`

Expand Down Expand Up @@ -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.
4 changes: 2 additions & 2 deletions website/versioned_docs/version-24.0/ExpectAPI.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)`

Expand Down Expand Up @@ -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.

0 comments on commit a61ac1d

Please sign in to comment.