We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5c6fd9 commit 8e9e216Copy full SHA for 8e9e216
tests/services/ApolloServices/ApolloServerService.spec.ts
@@ -1,16 +1,15 @@
1
-// import { apolloServer } from '../../../src/services/ApolloServices/ApolloServerService';
+import { apolloServer } from '../../../src/services/ApolloServices/ApolloServerService';
2
3
describe('ApolloServiceService', () => {
4
it('hello resolver', async () => {
5
- // const query = `{ hello }`;
6
- //
7
- // const result = await apolloServer.executeOperation({
8
- // query,
9
- // });
10
11
- // expect(result.data).toMatchObject({
12
- // hello: 'world',
13
14
- expect.anything();
+ const query = `{ hello }`;
+
+ const result = await apolloServer.executeOperation({
+ query,
+ });
+ expect(result.data).toMatchObject({
+ hello: 'world',
15
});
16
0 commit comments