We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4e2a02a commit 88db984Copy full SHA for 88db984
src/__mocks__/axios.js
@@ -1,3 +1,8 @@
1
module.exports = {
2
get: jest.fn(() => Promise.resolve({data: {}})),
3
}
4
+
5
+// Note:
6
+// For now we don't need any other method (POST/PUT/PATCH), what we have already works fine.
7
+// We will add more methods only if we need to.
8
+// For reference please read: https://github.com/kentcdodds/react-testing-library/issues/2
0 commit comments