Mongodb – Why is jest test giving failing and giving a timed out error but a 404 error when the parameters are switched?
I want to start incorporating testing with Jest in my projects but I'm having a hard time getting this test to work. When I run it I get this error thrown. thrown: "Exceeded timeout of 5000 ms for a test.…