Skip to content

Commit 122b2f6

Browse files
committed
spelling
1 parent 5e7ce53 commit 122b2f6

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/type/__tests__/validation-test.ts

+6-6
Original file line numberDiff line numberDiff line change
@@ -1954,7 +1954,7 @@ describe('Objects must adhere to Interface they implement', () => {
19541954
expectJSON(validateSchema(schema)).toDeepEqual([]);
19551955
});
19561956

1957-
it('accepts an Object with a subtyped Interface field (object subtyping union)', () => {
1957+
it('accepts an Object with a subtyped Interface field (union subtyped by object)', () => {
19581958
const schema = buildSchema(`
19591959
type Query {
19601960
test: AnotherObject
@@ -1977,7 +1977,7 @@ describe('Objects must adhere to Interface they implement', () => {
19771977
expectJSON(validateSchema(schema)).toDeepEqual([]);
19781978
});
19791979

1980-
it('accepts an Object with a subtyped Interface field (union subtyping union)', () => {
1980+
it('accepts an Object with a subtyped Interface field (union subtyped by union)', () => {
19811981
const schema = buildSchema(`
19821982
type Query {
19831983
test: AnotherObject
@@ -2002,7 +2002,7 @@ describe('Objects must adhere to Interface they implement', () => {
20022002
expectJSON(validateSchema(schema)).toDeepEqual([]);
20032003
});
20042004

2005-
it('accepts an Object with a subtyped Interface field (interface subtyping union)', () => {
2005+
it('accepts an Object with a subtyped Interface field (union subtyped by interface)', () => {
20062006
const schema = buildSchema(`
20072007
type Query {
20082008
test: AnotherObject
@@ -2440,7 +2440,7 @@ describe('Interfaces must adhere to Interface they implement', () => {
24402440
expectJSON(validateSchema(schema)).toDeepEqual([]);
24412441
});
24422442

2443-
it('accepts an Interface with a subtyped Interface field (object subtyping union)', () => {
2443+
it('accepts an Interface with a subtyped Interface field (union subtyped by object)', () => {
24442444
const schema = buildSchema(`
24452445
type Query {
24462446
test: ChildInterface
@@ -2463,7 +2463,7 @@ describe('Interfaces must adhere to Interface they implement', () => {
24632463
expectJSON(validateSchema(schema)).toDeepEqual([]);
24642464
});
24652465

2466-
it('accepts an Interface with a subtyped Interface field (union subtyping union)', () => {
2466+
it('accepts an Interface with a subtyped Interface field (union subtyped by union)', () => {
24672467
const schema = buildSchema(`
24682468
type Query {
24692469
test: ChildInterface
@@ -2488,7 +2488,7 @@ describe('Interfaces must adhere to Interface they implement', () => {
24882488
expectJSON(validateSchema(schema)).toDeepEqual([]);
24892489
});
24902490

2491-
it('accepts an Interface with a subtyped Interface field (interface subtyping union)', () => {
2491+
it('accepts an Interface with a subtyped Interface field (union subtyped by interface)', () => {
24922492
const schema = buildSchema(`
24932493
type Query {
24942494
test: ChildInterface

0 commit comments

Comments
 (0)