Add tests on Editable relation (#188)

This commit is contained in:
Charles Bochet
2023-06-02 16:48:44 +02:00
committed by GitHub
parent 97274db8b4
commit a618636180
9 changed files with 133 additions and 69 deletions

View File

@ -3,14 +3,4 @@ import { ApolloClient, InMemoryCache } from '@apollo/client';
export const mockedClient = new ApolloClient({
uri: process.env.REACT_APP_API_URL,
cache: new InMemoryCache(),
defaultOptions: {
watchQuery: {
fetchPolicy: 'no-cache',
errorPolicy: 'all',
},
query: {
fetchPolicy: 'no-cache',
errorPolicy: 'all',
},
},
});