Jest tests are created to check node js end points. But while running tests together some tests are randomly failing and getting following error. Those tests is working fine while running indually.
Request failed with status code 500
at createError (node_modules/axios/lib/core/createError.js:16:15)
at settle (node_modules/axios/lib/core/settle.js:17:12)
at IncomingMessage.handleStreamEnd (node_modules/axios/lib/adapters/http.js:236:11)