diff --git a/docs/react-testing-library/faq.mdx b/docs/react-testing-library/faq.mdx index 4972ad137..df1e59a1c 100644 --- a/docs/react-testing-library/faq.mdx +++ b/docs/react-testing-library/faq.mdx @@ -83,7 +83,7 @@ as part of the `change` method call. How do I test error boundaries -To test if an error boundary successfully catches an error, you should make sure that if the fallback of the boundary is displayed when a child threw. +To test if an error boundary successfully catches an error, you should make sure that the fallback of the boundary is displayed when a child threw. Here's an example of how you can test an error boundary: