From 1779e132299c6dc1f68737d3b124dae4cec738d7 Mon Sep 17 00:00:00 2001 From: David Marvasti Date: Mon, 8 Jun 2020 08:35:42 -0400 Subject: [PATCH] Update ExpectAPI.md (Typo) Removed word "to" --- docs/ExpectAPI.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/ExpectAPI.md b/docs/ExpectAPI.md index af1721ebf32a..245ac248eba3 100644 --- a/docs/ExpectAPI.md +++ b/docs/ExpectAPI.md @@ -495,7 +495,7 @@ expect.addSnapshotSerializer(serializer); // affects expect(value).toMatchSnapshot() assertions in the test file ``` -If you add a snapshot serializer in individual test files instead of to adding it to `snapshotSerializers` configuration: +If you add a snapshot serializer in individual test files instead of adding it to `snapshotSerializers` configuration: - You make the dependency explicit instead of implicit. - You avoid limits to configuration that might cause you to eject from [create-react-app](https://github.com/facebookincubator/create-react-app).