Skip to content

Commit

Permalink
removed calls by name container
Browse files Browse the repository at this point in the history
  • Loading branch information
wheresrhys committed Sep 22, 2018
1 parent e80515d commit 47f192f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/lib/fetch-handler.js
Original file line number Diff line number Diff line change
Expand Up @@ -155,10 +155,6 @@ FetchMock.push = function({ url, options, request, name = null, unmatched= false
args.unmatched = unmatched;
args.matcher = matcher;
this._allCalls.push(args);
if (name) {
this._calls[name] = this._calls[name] || [];
this._calls[name].push(args);
}
};

module.exports = FetchMock;

0 comments on commit 47f192f

Please sign in to comment.