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