Skip to content

Commit

Permalink
Merge pull request #463 from apollographql/issue-457
Browse files Browse the repository at this point in the history
Update the `@apollo/client` dep to pull in `ts-invariant` changes
  • Loading branch information
hwillson authored Mar 18, 2021
2 parents 4439fde + 05a3479 commit 6e5b1b1
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 12 deletions.
29 changes: 19 additions & 10 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"postinstall": "cd node_modules/graphiql-forked/packages/graphiql && npm install --production"
},
"dependencies": {
"@apollo/client": "latest",
"@apollo/client": "^3.4.0-beta.15",
"@apollo/space-kit": "^9.0.1-canary.317.8374.0",
"@emotion/cache": "^11.1.3",
"@emotion/react": "^11.1.5",
Expand Down
4 changes: 3 additions & 1 deletion src/application/components/Cache/__tests__/Cache.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { within, waitFor, fireEvent } from "@testing-library/react";

import { Cache } from "../Cache";
import { renderWithApolloClient } from "../../../utilities/testing/renderWithApolloClient";
import { writeData } from "../../../index";
import { client, writeData } from "../../../index";

const CACHE_DATA = {
"Result:1": {
Expand Down Expand Up @@ -57,6 +57,8 @@ describe("Cache component tests", () => {

describe("With cache data", () => {
beforeEach(() => {
client.resetStore();

writeData({
queries: [],
mutations: [],
Expand Down

0 comments on commit 6e5b1b1

Please sign in to comment.