Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
global registerEndpoint ? (for all tests) - Nuxt
N
Nuxt
•
2y ago
Tumulte
global registerEndpoint ? (for all tests)
I have middleware that checks and calls a route
, and vitest really doesn
't like it
: every test gives a warning that my route
auth/me
auth/me
doesn
't exist
.
Is there a way to mock it for all tests
? I
've tried registerEndpoint in
setupFiles
setupFiles
but no change
thanks
Nuxt
Join
Nuxt Community Chat Server
31,817
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
registerEndpoint requires multiple flushPromises
N
Nuxt / ❓・help
2y ago
registerEndpoint and return status
N
Nuxt / ❓・help
2y ago
registerEndpoint and custom $fetch wrapper
N
Nuxt / ❓・help
9mo ago
Set global size for all component using app.config.ts
N
Nuxt / ❓・help
13mo ago