Skip to content

Commit 01ab857

Browse files
authored
fix: update @link test to support fed 2.5 (apollographql#492)
1 parent 8f8a3b8 commit 01ab857

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/compatibility/src/tests/link.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ test('@link', async () => {
3333

3434
const federationVersion = linkUrl.match(linkUrlSpecVersionRegex)[1];
3535
// only federation v2.0 and v2.1 are supported
36-
expect(federationVersion).toMatch(/2\.0|2\.1|2\.2|2\.3/);
36+
expect(federationVersion).toMatch(/2\.0|2\.1|2\.2|2\.3|2\.4|2\.5/);
3737

3838
const linkImportsRegex = /import:\[(.+?)\]/;
3939
if (linkImportsRegex.test(element)) {

0 commit comments

Comments
 (0)