From a53d5b3b67c9a3744b6825966173245b3cc95582 Mon Sep 17 00:00:00 2001 From: Christoph Zwerschke Date: Thu, 12 Sep 2019 21:24:21 +0200 Subject: [PATCH] Minor fix in extensions-test (#2168) --- src/type/__tests__/extensions-test.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/type/__tests__/extensions-test.js b/src/type/__tests__/extensions-test.js index ce982db545..96027a116b 100644 --- a/src/type/__tests__/extensions-test.js +++ b/src/type/__tests__/extensions-test.js @@ -149,11 +149,13 @@ describe('Type System: Extensions', () => { }); it('with extensions', () => { - const interfaceExtensions = Object.freeze({ SomeObjectExt: 'object' }); + const interfaceExtensions = Object.freeze({ + SomeInterfaceExt: 'interface', + }); const fieldExtensions = Object.freeze({ SomeFieldExt: 'field' }); const argExtensions = Object.freeze({ SomeArgExt: 'arg' }); - const someInterface = new GraphQLObjectType({ + const someInterface = new GraphQLInterfaceType({ name: 'SomeInterface', fields: { someField: { @@ -200,7 +202,7 @@ describe('Type System: Extensions', () => { }); it('with extensions', () => { - const unionExtensions = Object.freeze({ SomeScalarExt: 'union' }); + const unionExtensions = Object.freeze({ SomeUnionExt: 'union' }); const someUnion = new GraphQLUnionType({ name: 'SomeUnion',