Mirror: The spec-compliant minimum of client-side GraphQL.
at v1.2.0 368 B view raw
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});