testing-library-docs icon indicating copy to clipboard operation
testing-library-docs copied to clipboard

Docs for `onCaughtError`, `onRecoverableError` and how to test error boundaries

Open eps1lon opened this issue 1 year ago • 1 comments

Docs for https://github.com/testing-library/react-testing-library/pull/1354

https://deploy-preview-1417--testing-library.netlify.app/docs/react-testing-library/api#oncaughterror https://deploy-preview-1416--testing-library.netlify.app/docs/react-testing-library/faq/

Testing error boundaries is closely related to onCaughtError so it felt natural to include docs here.

eps1lon avatar Sep 13 '24 18:09 eps1lon

Deploy Preview for testing-library ready!

Name Link
Latest commit 57a61c1f5ad123a731d380b2b5c5cb1eec4cb9cd
Latest deploy log https://app.netlify.com/sites/testing-library/deploys/66e4881b48027200088dccd8
Deploy Preview https://deploy-preview-1424--testing-library.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

netlify[bot] avatar Sep 13 '24 18:09 netlify[bot]