Skip to content

Commit 09be751

Browse files
committed
Fix test
1 parent e1da711 commit 09be751

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

src/utilities/__tests__/extendSchema.js

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,11 @@ union SomeUnion = Foo | Biz
195195
expect(extendedSchema).to.not.equal(testSchema);
196196
expect(printSchema(testSchema)).to.equal(originalPrint);
197197
expect(printSchema(extendedSchema)).to.equal(
198-
`type Bar implements SomeInterface {
198+
`schema {
199+
query: Query
200+
}
201+
202+
type Bar implements SomeInterface {
199203
name: String
200204
some: SomeInterface
201205
foo: Foo
@@ -312,7 +316,11 @@ union SomeUnion = Foo | Biz
312316
expect(extendedSchema).to.not.equal(testSchema);
313317
expect(printSchema(testSchema)).to.equal(originalPrint);
314318
expect(printSchema(extendedSchema)).to.equal(
315-
`type Bar implements SomeInterface {
319+
`schema {
320+
query: Query
321+
}
322+
323+
type Bar implements SomeInterface {
316324
name: String
317325
some: SomeInterface
318326
foo: Foo

0 commit comments

Comments
 (0)