Error: Could not parse CSS stylesheet #410
-
This is super simple project that can provide you with more context I'm using vitest + react testing library for testing. When I test a component which contains prime react component, test successfully pases, but in console I get the following error: `Error: Could not parse CSS stylesheet
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
See this issue for more info: primefaces/primereact#5156 tl;dr is that is a JSDOM issue and there are steps that can be taken to suppress those logs. |
Beta Was this translation helpful? Give feedback.
@FlipWarthog
Thanks a lot, this solution helped me to resolve the issue.