Skip to content

Commit ee40194

Browse files
author
David Marvasti
authored
Update ExpectAPI.md (#10141)
(Typo) Removed word "to"
1 parent 95b94e8 commit ee40194

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
@@ -495,7 +495,7 @@ expect.addSnapshotSerializer(serializer);
495495
// affects expect(value).toMatchSnapshot() assertions in the test file
496496
```
497497

498-
If you add a snapshot serializer in individual test files instead of to adding it to `snapshotSerializers` configuration:
498+
If you add a snapshot serializer in individual test files instead of adding it to `snapshotSerializers` configuration:
499499

500500
- You make the dependency explicit instead of implicit.
501501
- You avoid limits to configuration that might cause you to eject from [create-react-app](https://github.com/facebookincubator/create-react-app).

0 commit comments

Comments
 (0)