Skip to content

Commit 1b4ede1

Browse files
wbowlina7ul
authored andcommitted
Update typos (#20)
Thanks a lot @wbowlin
1 parent 2264268 commit 1b4ede1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

7-testing/7.2-snapshots.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,6 @@ Even the Jest official documentation says this:
7373

7474
Consider this scenario. You worked on a component, generated a snap and pushed it. Later another dev named John made some change in the component. Now the test of the snap will fail since snap still contains the code which you wrote. John will just need to update the snapshot to make the test pass. No need to update the test case, just one command: `jest --updateSnapshot` and you are done.
7575

76-
*We recommend creating an __npm script__ for updating snaps. As you can see in the package.json of our boiler plate, it conatains a command called "test:update". This command go through all the test cases and will update the snap whenever it is required.*
76+
*We recommend creating an __npm script__ for updating snaps. As you can see in the package.json of our boiler plate, it contains a command called "test:update". This command goes through all the test cases and will update the snap whenever it is required.*
7777

7878
__More information can be found here:__ [https://facebook.github.io/jest/docs/en/snapshot-testing.html#content](https://facebook.github.io/jest/docs/en/snapshot-testing.html#content)

0 commit comments

Comments
 (0)