N
Nuxt7mo 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 doesn't exist. Is there a way to mock it for all tests ? I've tried registerEndpoint in setupFiles but no change thanks
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server