Run tests from graphql-test-suite (#19490)

This commit is contained in:
fisker Cheung authored and GitHub committed 2026-06-29 17:57:56 +08:00
1 parent c546c8eddb
commit 87acae6550
4 files changed
+1500

No files matched your search

File diff suppressed because it is too large. Load diff
@@ -0,0 +1,15 @@
import graphqlTestSuite from "graphql-test-suite";
const BUGS = new Set();
const testCases = graphqlTestSuite.filter(
({ error, name }) => !error && !BUGS.has(name),
);
runFormatTest(
{
importMeta: import.meta,
snippets: testCases.map(({ name, input }) => ({ name, code: input })),
},
["graphql"],
);