Replies: 3 comments 1 reply
-
I have resolved this issue by running |
Beta Was this translation helpful? Give feedback.
-
I have the same problem here, and when I try to use the server.deps.inline doesn't work and highlights the deps with this error: |
Beta Was this translation helpful? Give feedback.
-
Setting test.server.deps.inline worked for me. Note that you have to include all packages in the dependency chain if the CSS error comes from a dependency of a dependency. |
Beta Was this translation helpful? Give feedback.
-
Describe the bug
Vitest is failing the tests due to it not being able to recognise a .css file:
TypeError: Unknown file extension ".css" for ...\node_modules\@fontsource\assistant\200.css
I have tried multiple "solutions" with no success, some include:
Here are my project dependencies:
Used Package Manager
npm
Beta Was this translation helpful? Give feedback.
All reactions