add mock object (#75)

This commit is contained in:
Carlos Valente
2021-12-19 16:36:11 +01:00
committed by GitHub
parent fad34eeab2
commit 2b2bafa8c6
2 changed files with 10 additions and 3 deletions
+1 -3
View File
@@ -1,10 +1,8 @@
{ {
"extends": [ "extends": [
"react-app",
"react-app/jest",
"prettier" "prettier"
], ],
"plugins": ["react", "testing-library", "jest", "prettier"], "plugins": ["testing-library", "jest", "prettier"],
"rules": { "rules": {
} }
} }
+9
View File
@@ -0,0 +1,9 @@
import {QueryClient} from "react-query";
export const queryClientMock = new QueryClient({
defaultOptions: {
queries: {
retry: false,
},
},
});