const ApolloMockingProvider = (props) => {
  const mocks = mergeResolvers(globalMocks, props.customResolvers);
  
  addMockFunctionsToSchema({ schema, mocks });
  
  const client = new ApolloClient({
    link: new SchemaLink({ schema }),
    cache: new InMemoryCache(),
  });
  
  return (
    <ApolloProvider client={client}>
      {props.children}
    </ApolloProvider>
  );
}