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 58f3af7 commit 8bac458Copy full SHA for 8bac458
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "react-fetch-mock",
3
- "version": "0.4.1",
+ "version": "0.4.2",
4
"description": "fetch mock for reactjs",
5
"main": "index.js",
6
"scripts": {
src/index.js
@@ -96,7 +96,7 @@ class FetchMock {
96
}
97
98
// resolve prue data object
99
- if (isNull(obj.data) && isNull(obj.status)) {
+ if (isNull(obj.status)) {
100
obj = {
101
status: 200,
102
data: obj,
0 commit comments