API testing in Nitro
I wrote a standalone backend in
If anyone has ever written api tests for nitro server. Please guide.
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.