-
-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Closed
Closed
Copy link
Labels
Description
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
● Console
console.warn
Warning: [JSS] CSSOM.parse is not a function
53 | const registerScroll = useRegisterScrollElement()
54 |
> 55 | const classes = useAppLayoutStyles({
| ^
56 | innerHeight,
57 | showNavInDesktopOnly: navType === 'desktop-only',
58 | })
Additional context
No response
Environment
System:
OS: macOS 12.3
CPU: (10) arm64 Apple M1 Pro
Binaries:
Node: 16.10.0 - ~/Library/Caches/fnm_multishells/1912_1663926248111/bin/node
npm: 7.24.0 - ~/Library/Caches/fnm_multishells/1912_1663926248111/bin/npm
npmPackages:
jest: 29.0.3 => 29.0.3
pladaria and nickliu108