File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -149,11 +149,11 @@ describe('Type System: Extensions', () => {
149
149
} ) ;
150
150
151
151
it ( 'with extensions' , ( ) => {
152
- const interfaceExtensions = Object . freeze ( { SomeObjectExt : 'object ' } ) ;
152
+ const interfaceExtensions = Object . freeze ( { SomeInterfaceExt : 'interface ' } ) ;
153
153
const fieldExtensions = Object . freeze ( { SomeFieldExt : 'field' } ) ;
154
154
const argExtensions = Object . freeze ( { SomeArgExt : 'arg' } ) ;
155
155
156
- const someInterface = new GraphQLObjectType ( {
156
+ const someInterface = new GraphQLInterfaceType ( {
157
157
name : 'SomeInterface' ,
158
158
fields : {
159
159
someField : {
@@ -200,7 +200,7 @@ describe('Type System: Extensions', () => {
200
200
} ) ;
201
201
202
202
it ( 'with extensions' , ( ) => {
203
- const unionExtensions = Object . freeze ( { SomeScalarExt : 'union' } ) ;
203
+ const unionExtensions = Object . freeze ( { SomeUnionExt : 'union' } ) ;
204
204
205
205
const someUnion = new GraphQLUnionType ( {
206
206
name : 'SomeUnion' ,
You can’t perform that action at this time.
0 commit comments