Skip to content

Commit 0a654cc

Browse files
authored
validation-test.ts: various grammar fixes (#3452)
1 parent 4175b26 commit 0a654cc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/type/__tests__/validation-test.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -1065,7 +1065,7 @@ describe('Type System: Object fields must have output types', () => {
10651065
});
10661066

10671067
describe('Type System: Objects can only implement unique interfaces', () => {
1068-
it('rejects an Object implementing a non-type values', () => {
1068+
it('rejects an Object implementing a non-type value', () => {
10691069
const schema = new GraphQLSchema({
10701070
query: new GraphQLObjectType({
10711071
name: 'BadObject',
@@ -1512,7 +1512,7 @@ describe('Type System: Arguments must have input types', () => {
15121512
]);
15131513
});
15141514

1515-
it('rejects an required argument that is deprecated', () => {
1515+
it('rejects a required argument that is deprecated', () => {
15161516
const schema = buildSchema(`
15171517
directive @BadDirective(
15181518
badArg: String! @deprecated
@@ -2610,7 +2610,7 @@ describe('Interfaces must adhere to Interface they implement', () => {
26102610
});
26112611

26122612
describe('assertValidSchema', () => {
2613-
it('do not throw on valid schemas', () => {
2613+
it('does not throw on valid schemas', () => {
26142614
const schema = buildSchema(`
26152615
type Query {
26162616
foo: String
@@ -2619,7 +2619,7 @@ describe('assertValidSchema', () => {
26192619
expect(() => assertValidSchema(schema)).to.not.throw();
26202620
});
26212621

2622-
it('include multiple errors into a description', () => {
2622+
it('combines multiple errors', () => {
26232623
const schema = buildSchema('type SomeType');
26242624
expect(() => assertValidSchema(schema)).to.throw(dedent`
26252625
Query root type must be provided.

0 commit comments

Comments
 (0)