-
Notifications
You must be signed in to change notification settings - Fork 10
/
test.mjs
23 lines (18 loc) · 803 Bytes
/
test.mjs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// @ts-check
import TestDirector from "test-director";
import testAssertKoaContextRequestGraphQL from "./assertKoaContextRequestGraphQL.test.mjs";
import testCheckGraphQLSchema from "./checkGraphQLSchema.test.mjs";
import testCheckGraphQLValidationRules from "./checkGraphQLValidationRules.test.mjs";
import testCheckOptions from "./checkOptions.test.mjs";
import testErrorHandler from "./errorHandler.test.mjs";
import testExecute from "./execute.test.mjs";
import testGraphQLAggregateError from "./GraphQLAggregateError.test.mjs";
const tests = new TestDirector();
testAssertKoaContextRequestGraphQL(tests);
testCheckGraphQLSchema(tests);
testCheckGraphQLValidationRules(tests);
testCheckOptions(tests);
testErrorHandler(tests);
testExecute(tests);
testGraphQLAggregateError(tests);
tests.run();