visionmedia/express — pull request #2053 by shawnzhu (2014-04-15 04:17:02+00:00)
Title: improve req.xhr test by verifying status code

The `req.xhr` tests will never fail because it doesn't use `.expect()` assertion to return error to `.end()` callback. so it should pass error object to `done()` with `.expect()` assertion.