Skip to content

Commit

Permalink
Fix typo in jest method name (#4271)
Browse files Browse the repository at this point in the history
Summary:
Fix typo

Pull Request resolved: #4271

Differential Revision:
D45661465

Privacy Context Container: L1125407

Pulled By: captbaritone

fbshipit-source-id: 8aa034f93caeacdfc9e0cbac53b75bae32e774d7
  • Loading branch information
zmin9 authored and facebook-github-bot committed May 9, 2023
1 parent 3c44796 commit 442d494
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -556,7 +556,7 @@ test('Error State', () => {

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.

### toMatchSnaphot(...)
### toMatchSnapshot(...)

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.

Expand Down

0 comments on commit 442d494

Please sign in to comment.