We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20e37ee commit e8943c4Copy full SHA for e8943c4
dist/index.js
@@ -157,7 +157,9 @@ var FetchMock = function () {
157
}
158
}, {
159
key: 'fetch',
160
- value: function fetch(url, options) {
+ value: function fetch(url) {
161
+ var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
162
+
163
// using proxy
164
if (this.isProxied(url)) {
165
url = this.proxied(url);
0 commit comments