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 3f1efbd commit b6c23eaCopy full SHA for b6c23ea
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