Skip to content

Commit 3a505cb

Browse files
committed
Minor fix in extensions-test
1 parent c68acd8 commit 3a505cb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/type/__tests__/extensions-test.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -149,11 +149,11 @@ describe('Type System: Extensions', () => {
149149
});
150150

151151
it('with extensions', () => {
152-
const interfaceExtensions = Object.freeze({ SomeObjectExt: 'object' });
152+
const interfaceExtensions = Object.freeze({ SomeInterfaceExt: 'interface' });
153153
const fieldExtensions = Object.freeze({ SomeFieldExt: 'field' });
154154
const argExtensions = Object.freeze({ SomeArgExt: 'arg' });
155155

156-
const someInterface = new GraphQLObjectType({
156+
const someInterface = new GraphQLInterfaceType({
157157
name: 'SomeInterface',
158158
fields: {
159159
someField: {
@@ -200,7 +200,7 @@ describe('Type System: Extensions', () => {
200200
});
201201

202202
it('with extensions', () => {
203-
const unionExtensions = Object.freeze({ SomeScalarExt: 'union' });
203+
const unionExtensions = Object.freeze({ SomeUnionExt: 'union' });
204204

205205
const someUnion = new GraphQLUnionType({
206206
name: 'SomeUnion',

0 commit comments

Comments
 (0)