Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ardatan committed Aug 12, 2024
1 parent 41494fe commit d86f5b2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/utils/tests/get-directives.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { GraphQLObjectType, GraphQLSchema, GraphQLString, Kind } from 'graphql';
import { GraphQLObjectType, GraphQLSchema, GraphQLString, SchemaExtensionNode } from 'graphql';
import { makeExecutableSchema } from '@graphql-tools/schema';
import { assertGraphQLObjectType } from '../../testing/assertion.js';
import { getDirectives } from '../src/index.js';
Expand Down Expand Up @@ -145,7 +145,7 @@ describe('getDirectives', () => {
}),
extensionASTNodes: [
{
kind: Kind.SCHEMA_EXTENSION,
kind: 'SchemaExtension',
directives: [
{
kind: 'Directive',
Expand All @@ -156,7 +156,7 @@ describe('getDirectives', () => {
arguments: [],
},
],
},
} as SchemaExtensionNode,
],
});
const directives = getDirectives(schema, schema);
Expand Down

0 comments on commit d86f5b2

Please sign in to comment.