Skip to content

Commit

Permalink
Fix deprecated import from graphql-tools
Browse files Browse the repository at this point in the history
  • Loading branch information
sgarner committed Jun 1, 2020
1 parent 04722c7 commit fc5f4a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/RelationMapper.spec.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Connection, createConnection } from 'typeorm';
import { graphql, GraphQLResolveInfo, GraphQLSchema } from 'graphql';
import { addMockFunctionsToSchema, makeExecutableSchema } from 'graphql-tools';
import { addMocksToSchema, makeExecutableSchema } from 'graphql-tools';
import { RelationMapper } from './RelationMapper';
import { Product } from '../test/entities/product';
import { Owner } from '../test/entities/owner';
Expand Down Expand Up @@ -31,7 +31,7 @@ describe('RelationMapper', () => {
typeDefs,
resolvers,
});
addMockFunctionsToSchema({
addMocksToSchema({
schema: executableSchema,
mocks: {},
preserveResolvers: true,
Expand Down

0 comments on commit fc5f4a4

Please sign in to comment.