Skip to content

Commit

Permalink
Merge pull request #224 from apollographql/main
Browse files Browse the repository at this point in the history
Create a new pull request by comparing changes across two branches
  • Loading branch information
GulajavaMinistudio authored Jan 8, 2025
2 parents d50c44c + 2944f70 commit 8da2d46
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 9 deletions.
14 changes: 7 additions & 7 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

Lint:
docker:
- image: cimg/node:23.3.0
- image: cimg/node:23.5.0
steps:
- checkout
- run: npm version
Expand All @@ -24,15 +24,15 @@ jobs:

Formatting:
docker:
- image: cimg/node:23.3.0
- image: cimg/node:23.5.0
steps:
- checkout
- run: npm ci
- run: npm run check:format

Tests:
docker:
- image: cimg/node:23.3.0
- image: cimg/node:23.5.0
parameters:
project:
type: string
Expand All @@ -53,15 +53,15 @@ jobs:
path: reports/junit
Attest:
docker:
- image: cimg/node:23.3.0
- image: cimg/node:23.5.0
steps:
- checkout
- run: npm ci
- run: npm run test:type-benches

BuildTarball:
docker:
- image: cimg/node:23.3.0
- image: cimg/node:23.5.0
steps:
- checkout
- run: npm run ci:precheck
Expand All @@ -80,7 +80,7 @@ jobs:
react:
type: string
docker:
- image: cimg/node:23.3.0-browsers
- image: cimg/node:23.5.0-browsers
steps:
- checkout
- attach_workspace:
Expand Down Expand Up @@ -118,7 +118,7 @@ jobs:
externalPackage:
type: string
docker:
- image: cimg/node:23.3.0
- image: cimg/node:23.5.0
steps:
- checkout
- attach_workspace:
Expand Down
2 changes: 1 addition & 1 deletion .size-limits.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"dist/apollo-client.min.cjs": 41639,
"dist/apollo-client.min.cjs": 41640,
"import { ApolloClient, InMemoryCache, HttpLink } from \"dist/index.js\" (production)": 34381
}
4 changes: 3 additions & 1 deletion src/react/hooks/__tests__/useSubscription.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import {
import { PROTOCOL_ERRORS_SYMBOL } from "../../../errors";
import { InMemoryCache as Cache } from "../../../cache";
import { ApolloProvider } from "../../context";
import { MockSubscriptionLink } from "../../../testing";
import { MockSubscriptionLink, wait } from "../../../testing";
import { useSubscription } from "../useSubscription";
import { spyOnConsole } from "../../../testing/internal";
import { SubscriptionHookOptions } from "../../types/types";
Expand Down Expand Up @@ -1961,6 +1961,7 @@ describe("ignoreResults", () => {
}
);
if (!IS_REACT_17) {
await wait(0);
expect(subscriptionCreated).toHaveBeenCalledTimes(1);
}

Expand Down Expand Up @@ -2034,6 +2035,7 @@ describe("ignoreResults", () => {
}
);
if (!IS_REACT_17) {
await wait(0);
expect(subscriptionCreated).toHaveBeenCalledTimes(1);
}

Expand Down

0 comments on commit 8da2d46

Please sign in to comment.