mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-06 16:03:52 +00:00
add mock object (#75)
This commit is contained in:
@@ -1,10 +1,8 @@
|
||||
{
|
||||
"extends": [
|
||||
"react-app",
|
||||
"react-app/jest",
|
||||
"prettier"
|
||||
],
|
||||
"plugins": ["react", "testing-library", "jest", "prettier"],
|
||||
"plugins": ["testing-library", "jest", "prettier"],
|
||||
"rules": {
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
import {QueryClient} from "react-query";
|
||||
|
||||
export const queryClientMock = new QueryClient({
|
||||
defaultOptions: {
|
||||
queries: {
|
||||
retry: false,
|
||||
},
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user