How to solve ECONNREFUSED error in Supertest and jest with NodeJS?
check your genre.js in routes folder and delete the line:throw new Error('Could not get the genres!'); --- delete this
check your genre.js in routes folder and delete the line:throw new Error('Could not get the genres!'); --- delete this