Run tests from graphql-test-suite (#19490)
This commit is contained in:
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"],
|
||||
);
|
||||
Reference in new issue
Block a user