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 8068bb5 commit 6b52ec5Copy full SHA for 6b52ec5
1 file changed
tests/util/fetch.test.js
@@ -15,7 +15,7 @@ test('checks that fetch post returns a expected response', async () => {
15
},
16
});
17
18
- const data = JSON.parse(res.data);
+ const data = JSON.parse(res.data.data);
19
20
expect(res);
21
expect(data.testData).toBe(testData);
0 commit comments