|
| 1 | +import { describe, it } from 'node:test'; |
| 2 | + |
1 | 3 | import { expect } from 'chai'; |
2 | | -import { describe, it } from 'mocha'; |
3 | 4 |
|
4 | | -import { expectEvents } from '../../__testUtils__/expectEvents.js'; |
5 | | -import { expectNoTracingActivity } from '../../__testUtils__/expectNoTracingActivity.js'; |
6 | | -import { expectPromise } from '../../__testUtils__/expectPromise.js'; |
7 | | -import { expectToThrow } from '../../__testUtils__/expectToThrow.js'; |
8 | | -import { getTracingChannel } from '../../__testUtils__/getTracingChannel.js'; |
9 | | -import { resolveOnNextTick } from '../../__testUtils__/resolveOnNextTick.js'; |
| 5 | +import { expectEvents } from '../../__testUtils__/expectEvents.ts'; |
| 6 | +import { expectNoTracingActivity } from '../../__testUtils__/expectNoTracingActivity.ts'; |
| 7 | +import { expectPromise } from '../../__testUtils__/expectPromise.ts'; |
| 8 | +import { expectToThrow } from '../../__testUtils__/expectToThrow.ts'; |
| 9 | +import { getTracingChannel } from '../../__testUtils__/getTracingChannel.ts'; |
| 10 | +import { resolveOnNextTick } from '../../__testUtils__/resolveOnNextTick.ts'; |
10 | 11 |
|
11 | | -import type { OperationDefinitionNode } from '../../language/ast.js'; |
12 | | -import { OperationTypeNode } from '../../language/ast.js'; |
13 | | -import { parse } from '../../language/parser.js'; |
| 12 | +import type { OperationDefinitionNode } from '../../language/ast.ts'; |
| 13 | +import { OperationTypeNode } from '../../language/ast.ts'; |
| 14 | +import { parse } from '../../language/parser.ts'; |
14 | 15 |
|
15 | | -import { GraphQLObjectType } from '../../type/definition.js'; |
16 | | -import { GraphQLString } from '../../type/scalars.js'; |
17 | | -import { GraphQLSchema } from '../../type/schema.js'; |
| 16 | +import { GraphQLObjectType } from '../../type/definition.ts'; |
| 17 | +import { GraphQLString } from '../../type/scalars.ts'; |
| 18 | +import { GraphQLSchema } from '../../type/schema.ts'; |
18 | 19 |
|
19 | | -import { buildSchema } from '../../utilities/buildASTSchema.js'; |
| 20 | +import { buildSchema } from '../../utilities/buildASTSchema.ts'; |
20 | 21 |
|
21 | 22 | import { |
22 | 23 | execute, |
23 | 24 | executeIgnoringIncremental, |
24 | 25 | executeSync, |
25 | | -} from '../execute.js'; |
| 26 | +} from '../execute.ts'; |
26 | 27 |
|
27 | 28 | const schema = buildSchema(` |
28 | 29 | type Query { |
|
0 commit comments