Mocking imported nuxt modules using @nuxt/test-utils environment
i have a
my setup file:
my fixture class:
an example of the "mocked nuxt modules" i'm trying to use:
given the above, how can i use my mocked modules in a vitest test? everytime i run the tests it seems to pick up my "real" module implementations, not the mocked ones
vitest.config.ts that looks like this:my setup file:
my fixture class:
an example of the "mocked nuxt modules" i'm trying to use:
given the above, how can i use my mocked modules in a vitest test? everytime i run the tests it seems to pick up my "real" module implementations, not the mocked ones