Testing Routes

Is there any example how to run the routes in Jest test? TL;DR I'd love to create some tests to make sure the response is correct in differents scenarios based on user authenticated
1 Reply
Favna
Favna5w ago
not really because you have to start the bot to start the api and that then brings with it the regular problem of testing discord bots.

Did you find this page helpful?