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