I'm developing some api in nodejs, i'm using Jest and Supertest for testing api endpoints. After creating some tests, when I run npm test locally everything goes fine. But once I push changes to Github, tests fail and in summary I can see that 2 tests are failing. While searching log I found this error in 2 tests:
console.log
GenericError {
nested: {
message: 'Slow down. Too many concurrent requests!',
name: 'Error',
http_code: 420
},
error: 'http.internal',
code: 500,
status: undefined
}
How to solve this?
Aucun commentaire:
Enregistrer un commentaire