NNuxt•Created by Ayho on 2/12/2025 in #❓・help Test plugin of useNuxtApp vitest
Tried this too but. I still get the
"There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file."
error