samedi 30 novembre 2019

Test suites always failing - Randomly

I have being studing Jest and i currently doing a lot of integrations tests on my api, using sqlite for the db test.

But something strange is that sometimes a test go well and then fail again. I don't know if the reason for that is related to some truncate that i doing on the db after run a test suite.

Here's the repo with the tests: https://github.com/LauraBeatris/gympoint-api

If someone run yarn test probably will have the user test suite failed and also the registrations test suite failed.

I will appreciate a help!

Aucun commentaire:

Enregistrer un commentaire