Skip to content

Commit 442d494

Browse files
zmin9facebook-github-bot
authored andcommitted
Fix typo in jest method name (#4271)
Summary: Fix typo Pull Request resolved: #4271 Differential Revision: D45661465 Privacy Context Container: L1125407 Pulled By: captbaritone fbshipit-source-id: 8aa034f93caeacdfc9e0cbac53b75bae32e774d7
1 parent 3c44796 commit 442d494

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

website/versioned_docs/version-v14.0.0/guides/testing-relay-components.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -556,7 +556,7 @@ test('Error State', () => {
556556

557557
The examples in this guide should work for testing components both with Relay Hooks, Containers or Renderers. When writing tests that involve the `usePreloadedQuery` hook, please also see the `queuePendingOperation` note above.
558558

559-
### toMatchSnaphot(...)
559+
### toMatchSnapshot(...)
560560

561561
Even though in all of the examples here you can see assertions with `toMatchSnapshot()`, we keep it that way just to make examples concise. But it's not the recommended way to test your components.
562562

0 commit comments

Comments
 (0)