You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When testing a component that imports a CSS file that contains nested CSS rules, I get the error "Could not parse CSS stylesheet". Support for nested CSS rules is fairly new, so maybe the parser that vitest uses to parse CSS just doesn't support nested rules yet.
Reproduction
Here is a simple example of CSS that will trigger this error:
Hello @mvolkmann. Please provide a minimal reproduction using a GitHub repository or StackBlitz (you can also use examples). Issues marked with needs reproduction will be closed if they have no activity within 3 days.
Describe the bug
When testing a component that imports a CSS file that contains nested CSS rules, I get the error "Could not parse CSS stylesheet". Support for nested CSS rules is fairly new, so maybe the parser that vitest uses to parse CSS just doesn't support nested rules yet.
Reproduction
Here is a simple example of CSS that will trigger this error:
System Info
Used Package Manager
yarn
Validations
The text was updated successfully, but these errors were encountered: