Skip to content

Commit

Permalink
superagent: updates for feedback on DefinitelyTyped#11055
Browse files Browse the repository at this point in the history
  • Loading branch information
benmosher committed Sep 12, 2016
1 parent 6a01265 commit f105740
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions superagent/superagent-tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,7 @@ request
request
.get('/blob')
.responseType('blob')
.end(function(err, res){
assert.deepEqual(res.xhr.response instanceof Blob, true);
.end(function (err, res) {
assert(res.xhr instanceof XMLHttpRequest)
assert(res.xhr.response instanceof Blob);
});

0 comments on commit f105740

Please sign in to comment.