Skip to content

Commit 6bdfd6a

Browse files
committed
fix jest
1 parent 1cb289e commit 6bdfd6a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/graphql-language-service-server/src/__tests__/MessageProcessor.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ describe('MessageProcessor with config', () => {
367367
it('caches files and schema with a URL config', async () => {
368368
const offset = parseInt(version, 10) > 16 ? 25 : 0;
369369

370-
mockSchema(require('../../../graphiql/test/schema'));
370+
mockSchema(require('../../../graphiql/test/schema').schema);
371371

372372
const project = new MockProject({
373373
files: [
@@ -499,7 +499,7 @@ describe('MessageProcessor with config', () => {
499499
});
500500

501501
it('caches multiple projects with files and schema with a URL config and a local schema', async () => {
502-
mockSchema(require('../../../graphiql/test/schema'));
502+
mockSchema(require('../../../graphiql/test/schema').schema);
503503

504504
const project = new MockProject({
505505
files: [

0 commit comments

Comments
 (0)