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

Test highlighting of `prettyDOM` explicitly #1324

Closed eps1lon closed 1 month ago

eps1lon commented 1 month ago

Previous test setup hid legit bugs (e.g. https://github.com/testing-library/dom-testing-library/issues/1322). Now we test prettyDOM in each environment (Browser and browser-ish (node+jsdom) on the exact colors by not stripping the ANSI color codes anymore.

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 67dee416e61eeed4f41cbebabd428c47176df125:

Sandbox Source
react-testing-library-examples Configuration