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
+9
View File
@@ -0,0 +1,9 @@
import {QueryClient} from "react-query";
export const queryClientMock = new QueryClient({
defaultOptions: {
queries: {
retry: false,
},
},
});