nodejs
javascript
testing
npm
styleguide
express
microservices
rest
mocha
types
eslint
es6
jest
style-guide
best-practices
expressjs
node-js
nodejs-development
-
Updated
Feb 9, 2021 - JavaScript
Is your feature request related to a problem? Please describe.
During testing I expected
github.com/kataras/iris/v12/httptest.Response.Statusto fail the test immediately if a different status is received. Therefore on subsequent lines I performed some operations that could result in a panic if let's say the response code was not as expected. It turns that it does not fail fast, it simply f