Skip to content

Commit aff5045

Browse files
committed
Update apolloServerTests to remove check on version
1 parent 18175de commit aff5045

File tree

1 file changed

+4
-11
lines changed

1 file changed

+4
-11
lines changed

packages/integration-testsuite/src/apolloServerTests.ts

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ import {
1616
type FieldNode,
1717
type GraphQLFormattedError,
1818
GraphQLScalarType,
19-
version as graphqlVersion,
2019
} from 'graphql';
2120

2221
// Note that by doing deep imports here we don't need to install React.
@@ -1179,11 +1178,8 @@ export function defineIntegrationTestSuiteApolloServerTests(
11791178
expect(Object.keys(reports[0].tracesPerQuery)[0]).toMatch(/^# -\n/);
11801179
});
11811180

1182-
(process.env.INCREMENTAL_DELIVERY_TESTS_ENABLED &&
1183-
graphqlVersion === '17.0.0-alpha.2'
1184-
? it
1185-
: it.skip)(
1186-
'includes all fields with defer [email protected]',
1181+
(process.env.INCREMENTAL_DELIVERY_TESTS_ENABLED ? it : it.skip)(
1182+
'includes all fields with defer legacy',
11871183
async () => {
11881184
await setupApolloServerAndFetchPair({}, {}, [], true);
11891185
const response = await fetch(uri, {
@@ -1229,11 +1225,8 @@ export function defineIntegrationTestSuiteApolloServerTests(
12291225
},
12301226
);
12311227

1232-
(process.env.INCREMENTAL_DELIVERY_TESTS_ENABLED &&
1233-
graphqlVersion === '17.0.0-alpha.9'
1234-
? it
1235-
: it.skip)(
1236-
'includes all fields with defer [email protected]',
1228+
(process.env.INCREMENTAL_DELIVERY_TESTS_ENABLED ? it : it.skip)(
1229+
'includes all fields with defer modern',
12371230
async () => {
12381231
await setupApolloServerAndFetchPair({}, {}, [], true);
12391232
const response = await fetch(uri, {

0 commit comments

Comments
 (0)