Hi,
I am currently trying to test our Apollo 2 integration in Vulcan (https://github.com/VulcanJS/Vulcan/issues/2171).
However, whenever I try to create an Apollo server in a test, I get the following error:
TypeError: utilities_1.getIntrospectionQuery is not a function
This might be related to this issue: https://github.com/apollographql/apollo-server/issues/1935
It happens with a minimal server too:
test('init any server', function () {
const apolloServer = new ApolloServer({
typeDefs: `
type Author {
id: Int!
}
type Query {
author(id: Int!): Author
}
`});
});
This only happens in test mode, not in production/dev. Can someone reproduce this issue too? What could happen? Is Meteor somehow triggering an introspection query during the test? What bother me is that I just create the server, I don’t run a query or open the browser, so even if there is an underlying issue this should not happen, except maybe if Apollo triggers a first query on server creation?