Skip to content

Commit 435bdc8

Browse files
committed
Fixes docs
1 parent 78ddf16 commit 435bdc8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/ExpectAPI.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -750,7 +750,7 @@ This ensures that a value matches the most recent snapshot. Check out [the Snaps
750750

751751
You can provide an optional `propertyMatchers` object argument, which has asymmetric matchers as values of a subset of expected properties, **if** the received value will be an **object** instance. It is like `toMatchObject` with flexible criteria for a subset of properties, followed by a snapshot test as exact criteria for the rest of the properties.
752752

753-
By setting the `snapshotName` explicitly (as opposed to letting Jest infer the name from context) it can be guaranteed to be consistent across test runs, whatever the context at the time of evaluation. Jest always appends a number at the end of a snapshot name.
753+
By setting the `snapshotName` explicitly (as opposed to letting Jest infer the name from context) it can be guaranteed to be consistent across test runs, whatever the context at the time of evaluation. Jest always appends a number at the end of a snapshot name.
754754

755755
Jest sorts snapshots by name in the corresponding `.snap` file.
756756

0 commit comments

Comments
 (0)