diff --git a/src/__tests__/local-state/general.ts b/src/__tests__/local-state/general.ts index c0f4332a752..2c58dff03d0 100644 --- a/src/__tests__/local-state/general.ts +++ b/src/__tests__/local-state/general.ts @@ -1,6 +1,6 @@ import gql from 'graphql-tag'; import { DocumentNode, GraphQLError } from 'graphql'; -import { introspectionQuery } from 'graphql/utilities'; +import { getIntrospectionQuery } from 'graphql/utilities'; import { Observable } from '../../utilities/observables/Observable'; import { ApolloLink } from '../../link/core/ApolloLink'; @@ -71,7 +71,7 @@ describe('General functionality', () => { it('should not interfere with server introspection queries', () => { const query = gql` - ${introspectionQuery} + ${getIntrospectionQuery()} `; const error = new GraphQLError('no introspection result found');