diff --git a/.eslintrc b/.eslintrc index ed21f44e8..89a54ce1c 100644 --- a/.eslintrc +++ b/.eslintrc @@ -1,10 +1,8 @@ { "extends": [ - "react-app", - "react-app/jest", "prettier" ], - "plugins": ["react", "testing-library", "jest", "prettier"], + "plugins": ["testing-library", "jest", "prettier"], "rules": { } } \ No newline at end of file diff --git a/client/src/__mocks__/QueryClient.mock.js b/client/src/__mocks__/QueryClient.mock.js new file mode 100644 index 000000000..d39682c74 --- /dev/null +++ b/client/src/__mocks__/QueryClient.mock.js @@ -0,0 +1,9 @@ +import {QueryClient} from "react-query"; + +export const queryClientMock = new QueryClient({ + defaultOptions: { + queries: { + retry: false, + }, + }, +}); \ No newline at end of file