2022-11-28
|~3 min read
|547 words
I previously wrote about testing node APIs with Supertest, but what about a protected route? One which requires a valid JWT associated with…
2022-11-28
|~2 min read
|222 words
Once you’ve designed an API, you will likely want to test it. If it’s a Node server, supertest is a popular solution for writing tests…