This repository has been archived by the owner on Dec 19, 2023. It is now read-only.
Replies: 1 comment 1 reply
-
I upgraded the nuxt-vitest version to 0.6.5, but I still have the same error. What is missing to make it work? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I followed the documentation to test the library.
I created a test file that mocks 'useStorage'.
When I run the tests, I get an error:
Error: Cannot find import "useStorage" to mock
Do I need to configure anything else?
Here is the example on Stackblitz:
https://stackblitz.com/edit/nuxt-starter-vkkrkv?file=tests/mytest.nuxt.test.ts
Beta Was this translation helpful? Give feedback.
All reactions