diff --git a/website/versioned_docs/version-v14.0.0/guides/testing-relay-components.md b/website/versioned_docs/version-v14.0.0/guides/testing-relay-components.md index b089020a71b64..41649decddc55 100644 --- a/website/versioned_docs/version-v14.0.0/guides/testing-relay-components.md +++ b/website/versioned_docs/version-v14.0.0/guides/testing-relay-components.md @@ -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.