I would like to test some endpoints I have in my REST API in a concurrent way using Jest. The idea behind is to check if some queries in the database clash each other and set a proper isolation level. How can I achieve such a test in Jest? Would Promise.all
help in this case?
Aucun commentaire:
Enregistrer un commentaire