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 537b271 commit 8b54923Copy full SHA for 8b54923
dist/index.js
@@ -48,8 +48,8 @@ var FetchMock = function () {
48
49
this.urls = [];
50
this.raw = options.fetch;
51
- this.exclude = options.exclude;
52
- this.proxy = options.proxy;
+ this.exclude = options.exclude || [];
+ this.proxy = options.proxy || [];
53
54
this.loadMocks = this.loadMocks.bind(this);
55
this.loadMock = this.loadMock.bind(this);
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "react-fetch-mock",
3
- "version": "0.5.3",
+ "version": "0.5.4",
4
"description": "fetch mock for reactjs",
5
"main": "index.js",
6
"scripts": {
0 commit comments