Skip to content

Commit

Permalink
fix(helper): add missing xhr field
Browse files Browse the repository at this point in the history
  • Loading branch information
stephanebachelier committed Mar 7, 2016
1 parent 5f67e3b commit 6f0eb8e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions test/helpers/response.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@ function response (req) {

res.body = res.responseText
res.headers = req.xhr.getAllResponseHeaders()

log(res.body)
log(res.headers)
res.xhr = req.xhr

return res
}
Expand Down

0 comments on commit 6f0eb8e

Please sign in to comment.