Closed MuckT closed 2 years ago
You might need to add another sample route to the API to throw the bad response e.g.
// Bad route app.get('/bad', (req, res, next) => { next('error message to send') })
Done and merged.
You might need to add another sample route to the API to throw the bad response e.g.