ssahillppatell
ssahillppatell
NNuxt
Created by ssahillppatell on 8/14/2024 in #❓・help
API testing in Nitro
I wrote a standalone backend in nitro. Now I am trying to write tests using 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 but failed. If anyone has ever written api tests for nitro server. Please guide. 🙂
3 replies