-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
[Bug]: CSSOM.parse is not exposed in the package used by jest-environment-jsdom #13315
Comments
having same issue as well |
Sounds like an issue for JSDOM and not Jest? |
Yeah, but JSDOM is not actively maintained and fixed PR not being merged: NV/CSSOM#113 |
JSDOM is very much actively maintained. CSSOM is a separate project. If you want JSDOM to use a fork, you should ask them: https://github.com/jsdom/jsdom/blob/c3c421c364510e053478520500bccafd97f5fa39/package.json#L26 |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Version
29.0.3
Steps to reproduce
I don't have a repro currently but error is generated from
@material-ui/styles
since switching to jest>28 and jest-environment-jsdom.Expected behavior
The issue is already identified https://github.com/NV/CSSOM/pull/113/files and a PR is even available but CSSOM doesn't seem to be the most maintained lib.
Actual behavior
Jest tests are generating a lot of warning in our monorepo setup
Additional context
No response
Environment
The text was updated successfully, but these errors were encountered: