Skip to content

Commit 434fa55

Browse files
committed
implement defer support
1 parent a81143c commit 434fa55

File tree

7 files changed

+238
-544
lines changed

7 files changed

+238
-544
lines changed

.circleci/config.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,18 @@ jobs:
4343
- run: npm run test:ci
4444
- store_test_results:
4545
path: junit.xml
46+
Incremental Delivery:
47+
docker:
48+
- image: cimg/base:stable
49+
environment:
50+
INCREMENTAL_DELIVERY_TESTS_ENABLED: t
51+
steps:
52+
- setup-node:
53+
node-version: "18"
54+
# Install a prerelease of graphql-js 17 with incremental delivery support.
55+
# --legacy-peer-deps because nothing expects v17 yet.
56+
- run: npm i --legacy-peer-deps graphql@17.0.0-alpha.1.canary.pr.3361.04ab27334641e170ce0e05bc927b972991953882
57+
- run: npm run test:ci
4658
Lint:
4759
docker:
4860
- image: cimg/base:stable
@@ -69,3 +81,4 @@ workflows:
6981
- "16"
7082
- "18"
7183
- "20"
84+
- Incremental Delivery

jest.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ const config: Config.InitialOptions = {
2222
},
2323
// TODO: Remove this once the following issue is resolved:
2424
testNamePattern: "^((?!MUST\\ require\\ a\\ request\\ body\\ on\\ POST).)*$",
25+
setupFiles: ["./tests/jest.setup.ts"],
2526
};
2627

2728
export default config;

0 commit comments

Comments
 (0)