© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
Mocking useStorage - Nuxt
N
Nuxt
•
2y ago
•
3 replies
Kotkoroid
Mocking useStorage
I
'm trying to mock
useStorage()
useStorage()
as in documentation
:
https://nuxt.com/docs/getting-started/testing#mocknuxtimport
However I
'm stuck at
Error: Cannot find import "useStorage" to mock
Error: Cannot find import "useStorage" to mock
. Where should I take this import from when it
's autoimported by Nitro
?
Nuxt
Testing · Get Started with Nuxt
How to test your Nuxt application
.
Recent Announcements
Similar Threads
useLocalStorage or useStorage
N
Nuxt / ❓・help
2y ago
useStorage in nuxt/test-utils
N
Nuxt / ❓・help
2y ago
Mocking a plugin
N
Nuxt / ❓・help
13mo ago