I am making test. Using Jest, supertest.
Running my code, my console shows that i have a problem with my beforeEach code.
This is my code
This is my console
I have tried put my test inside my beforeEach code, after and before and nothing happned.
Also change my after function to afterall
New contributor
user25132302 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.