-
Notifications
You must be signed in to change notification settings - Fork 399
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
6.1.0 failing on "Cannot find module '@testing-library/jest-dom'" #522
Comments
In package.json
These files are not in package |
I have fixed this in PR #523 |
There's a great package: https://publint.dev/ that can lint the package json for proper hybrid settings! |
I believe the problem is actually with the new version of the @adobe/css-tools package. I've submitted a PR with them: adobe/css-tools#183 |
Can someone who's had this issue please verify if it's working or still erroring with jest-dom 6.1.2? We've fixed all our ESM publishing issues as far as I'm aware, so it could be adobe/css-tools#183. |
Yep working for me too, thanks all! |
The v6.1.2 fixed it for me. Thank you! |
@testing-library/jest-dom
version: 6.1.0node
version: v18.13.0npm
version: 8.19.3Relevant code or config:
File src/setupTests.js
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: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 61d17bd broke things.
The text was updated successfully, but these errors were encountered: