You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using the popular error library http-errors, the normal chai-http assertions for status / statusCode do not work. I think this is because of the inheritence used by http-errors when creating new error objects.
Using the popular error library
http-errors
, the normal chai-http assertions for status / statusCode do not work. I think this is because of the inheritence used byhttp-errors
when creating new error objects.I have this, which works:
It should probably still work as:
The text was updated successfully, but these errors were encountered: