Skip to content

Commit

Permalink
Return the request from end
Browse files Browse the repository at this point in the history
Resolves Agh-39
  • Loading branch information
jamesplease committed Oct 20, 2016
1 parent e42c904 commit 20de1e3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ function mock(superagent) {
cb && cb(ex, null);
}
}, value(mock.timeout), state.request);
return this;
} else {
oldEnd.call(this, cb);
}
Expand Down

0 comments on commit 20de1e3

Please sign in to comment.