<!-- * Please fill out this template with all the relevant information so we can understand what's going on and fix the issue. We appreciate bugs filed and PRs submitted! * Please make sure that you are familiar with and follow the Code of Conduct for this project (found in the CODE_OF_CONDUCT.md file). We'll probably ask you to submit the fix (after giving some direction). If you've never done that before, that's great! Check this free short video tutorial to learn how: http://kcd.im/pull-request --> - `@testing-library/jest-dom` version: 6.1.0 - `node` version: v18.13.0 - `npm` version: 8.19.3 <!-- * `@testing-library/dom` version: 9.3.1 * `@testing-library/react` version: 14.0.0 --> ### Relevant code or config: File src/setupTests.js ```js import "@testing-library/jest-dom"; ``` ### What you did: I upgraded from 6.0.1 to 6.1.0. Rollback to 6.0.1 fixes it. ### What happened: `npm run tests` now returns a failure on every test: ``` Cannot find module '@testing-library/jest-dom' from 'src/setupTests.js' for every test run ``` ### Reproduction: If the root cause isn't obvious, I can work on a repo with a replicable example. ### Problem description: Fails always on current version. ### Suggested solution: My guess is something in https://github.com/testing-library/jest-dom/commit/61d17bd15b7d2cecb2868a2befe563cb9d5e22cf broke things.