File tree Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 11import { describe , it } from 'mocha' ;
22
3- import { buildSchema } from '../../utilities/buildASTSchema' ;
3+ import { buildSchema } from '../../utilities/buildASTSchema.js ' ;
44
5- import { RequiredStatusOnFieldMatchesDefinitionRule } from '../rules/RequiredStatusOnFieldMatchesDefinitionRule' ;
5+ import { RequiredStatusOnFieldMatchesDefinitionRule } from '../rules/RequiredStatusOnFieldMatchesDefinitionRule.js ' ;
66
7- import { expectValidationErrorsWithSchema } from './harness' ;
7+ import { expectValidationErrorsWithSchema } from './harness.js ' ;
88
99function expectErrors ( queryStr : string ) {
1010 return expectValidationErrorsWithSchema (
Original file line number Diff line number Diff line change 1- import { GraphQLError } from '../../error/GraphQLError' ;
1+ import { GraphQLError } from '../../error/GraphQLError.js ' ;
22
33import type {
44 FieldNode ,
55 ListNullabilityOperatorNode ,
66 NullabilityAssertionNode ,
7- } from '../../language/ast' ;
8- import type { ASTReducer , ASTVisitor } from '../../language/visitor' ;
9- import { visit } from '../../language/visitor' ;
7+ } from '../../language/ast.js ' ;
8+ import type { ASTReducer , ASTVisitor } from '../../language/visitor.js ' ;
9+ import { visit } from '../../language/visitor.js ' ;
1010
11- import type { GraphQLOutputType } from '../../type/definition' ;
11+ import type { GraphQLOutputType } from '../../type/definition.js ' ;
1212import {
1313 assertListType ,
1414 getNullableType ,
1515 isListType ,
16- } from '../../type/definition' ;
16+ } from '../../type/definition.js ' ;
1717
18- import type { ValidationContext } from '../ValidationContext' ;
18+ import type { ValidationContext } from '../ValidationContext.js ' ;
1919
2020/**
2121 * List element nullability designators need to use a depth that is the same as or less than the
You can’t perform that action at this time.
0 commit comments