Skip to content

Commit

Permalink
ooops
Browse files Browse the repository at this point in the history
  • Loading branch information
ardatan committed Oct 27, 2021
1 parent d37b3e4 commit 4c51caf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/plugin/tests/mocks/graphql-server.ts
Expand Up @@ -40,7 +40,9 @@ class TestGraphQLServer {
if (pathname === '/') {
const { query } = await this.parseData(req);
if (query.includes('query IntrospectionQuery')) {
res.end(JSON.stringify(introspectionQueryResult));
res.end(JSON.stringify({
data: introspectionQueryResult
}));
}
} else if (pathname === '/my-headers') {
res.end(JSON.stringify(req.headers));
Expand Down

0 comments on commit 4c51caf

Please sign in to comment.