testing-library / dom-testing-library

🐙 Simple and complete DOM testing utilities that encourage good testing practices.
https://testing-library.com/dom
MIT License
3.26k stars 466 forks source link

feat: Reduce caught exceptions in prettyDom (reland) #1323

Closed eps1lon closed 1 month ago

eps1lon commented 1 month ago

Stacked on https://github.com/testing-library/dom-testing-library/pull/1324

Relands https://github.com/testing-library/dom-testing-library/pull/1321 which originally caused https://github.com/testing-library/dom-testing-library/issues/1322

@DavidRieman Could you give this a look if 3db439b (#1323) is still matching your original intention?

codesandbox-ci[bot] commented 1 month ago

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 964d6e8d69d8e8e01a820643c6f6d409589785d4:

Sandbox Source
react-testing-library-examples Configuration