Mirror: The spec-compliant minimum of client-side GraphQL.
1import { describe, it, expectTypeOf } from 'vitest';
2import type * as graphql from 'graphql16';
3
4import type { GraphQLError } from '../error';
5
6describe('GraphQLError', () => {
7 it('should match graphql.js’ GraphQLError', () => {
8 expectTypeOf<GraphQLError>().toMatchTypeOf<graphql.GraphQLError>();
9 expectTypeOf<graphql.GraphQLError>().toMatchTypeOf<GraphQLError>();
10 });
11});