Skip to content

Commit

Permalink
Update lib/testing/create-apollo-test-client.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Kamil Mysliwiec <mail@kamilmysliwiec.com>
  • Loading branch information
iddan and kamilmysliwiec committed Aug 31, 2020
1 parent 854e210 commit 56cc598
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/testing/create-apollo-test-client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ function getApolloServer(testingModule: TestingModule): ApolloServerBase {
return graphqlModule.apolloServer;
} catch (error) {}
throw new Error(
'Nest could not find GraphQLFederationModule or GraphQLModule element (this provider does not exist in the current context)',
'Nest could not find either the GraphQLFederationModule or GraphQLModule. Both modules are not registered in the given application.',
);
}

0 comments on commit 56cc598

Please sign in to comment.