Files
test-repo/tests/format/graphql/graphql-test-suite/format.test.js
T

16 lines
320 B
JavaScript

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"],
);