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 Aug 29 '24 12:08 eps1lon

Deploy Preview for testing-library ready!

Name Link
Latest commit 0ce7214b63edf3a391d354db90dd24bdb215efb8
Latest deploy log https://app.netlify.com/sites/testing-library/deploys/66d863828ce86d0008b08e4a
Deploy Preview https://deploy-preview-1417--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 Aug 29 '24 12:08 netlify[bot]

@timdeschryver These are docs for an unreleased feature. Please revert.

eps1lon avatar Sep 13 '24 07:09 eps1lon