Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
leebyron committed Mar 25, 2016
1 parent e1da711 commit 09be751
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions src/utilities/__tests__/extendSchema.js
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,11 @@ union SomeUnion = Foo | Biz
expect(extendedSchema).to.not.equal(testSchema);
expect(printSchema(testSchema)).to.equal(originalPrint);
expect(printSchema(extendedSchema)).to.equal(
`type Bar implements SomeInterface {
`schema {
query: Query
}
type Bar implements SomeInterface {
name: String
some: SomeInterface
foo: Foo
Expand Down Expand Up @@ -312,7 +316,11 @@ union SomeUnion = Foo | Biz
expect(extendedSchema).to.not.equal(testSchema);
expect(printSchema(testSchema)).to.equal(originalPrint);
expect(printSchema(extendedSchema)).to.equal(
`type Bar implements SomeInterface {
`schema {
query: Query
}
type Bar implements SomeInterface {
name: String
some: SomeInterface
foo: Foo
Expand Down

0 comments on commit 09be751

Please sign in to comment.