Fix js unit tests

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2021-04-08 09:53:46 +02:00
parent ca14745d40
commit 1a43bfb620
7 changed files with 63 additions and 17 deletions

View File

@@ -25,7 +25,7 @@ describe("App component", () => {
let requestHandlers: Record<string, RequestHandler>;
const createComponent = (handlers = {}, baseData = {}) => {
const cache = new InMemoryCache({ addTypename: false });
const cache = new InMemoryCache({ addTypename: true });
mockClient = createMockClient({
cache,