Replies: 1 comment
-
Vitest doesn't process imports inside |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
suspect I have a test file
index.test.ts
, which imports a third-party module named 'A' from node_modules, and the module 'A' also imports a third-party module named 'B'.when I try to mock module B, it does not take effect in module A.
I'm not sure if this behavior is expected, or maybe there is something wrong with my configuration.
Beta Was this translation helpful? Give feedback.
All reactions