mardi 31 décembre 2019

How do I test an Express.js app with AVA?

I can test my models fine with AVA, but I would like to also test the routes.

I feel it should be possible to access the Express app object, and pass it a URL, then see what comes back, but I do not know how to get the Express object to use it.

Aucun commentaire:

Enregistrer un commentaire