We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 11ffbf3 commit 0a42481Copy full SHA for 0a42481
docs/react-testing-library/faq.mdx
@@ -113,6 +113,7 @@ test('error boundary catches error', () => {
113
)
114
expect(container.textContent).toEqual('Something went wrong.')
115
})
116
+```
117
118
If the error boundary did not catch the error, the test would fail since the `render` call would throw the error the Component produced.
119
0 commit comments