© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
API testing in Nitro - Nuxt
N
Nuxt
•
2y ago
•
2 replies
ssahillppatell
API testing in Nitro
I wrote a standalone backend in
nitro
nitro
. Now I am trying to write tests using
vitest
vitest
. I am able to test simple utils just fine
. But when it comes to testing apis
. I am stuck
. I can
't find a good solution
. I tried using
supertest
supertest
but failed
.
If anyone has ever written api tests for nitro server
. Please guide
.
Recent Announcements
Similar Threads
Get api domain in nitro server file
N
Nuxt / ❓・help
2y ago
Nitro in Deno
N
Nuxt / ❓・help
2y ago
Mocking API Endpoint - Testing
N
Nuxt / ❓・help
2y ago
Generating routes from Nitro API call
N
Nuxt / ❓・help
2y ago