Skip to content

Commit

Permalink
Fix typos in UniqueOperationTypes test (graphql#1763)
Browse files Browse the repository at this point in the history
  • Loading branch information
Cito authored and IvanGoncharov committed Mar 2, 2019
1 parent fc5a679 commit 68f4d07
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions src/validation/__tests__/UniqueOperationTypes-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ describe('Validate: Unique operation types', () => {
`);
});

it('schema definiton with all types', () => {
it('schema definition with all types', () => {
expectValidSDL(`
type Foo
Expand All @@ -57,7 +57,7 @@ describe('Validate: Unique operation types', () => {
`);
});

it('schema definiton with single extensions', () => {
it('schema definition with single extension', () => {
expectValidSDL(`
type Foo
Expand All @@ -70,7 +70,7 @@ describe('Validate: Unique operation types', () => {
`);
});

it('schema definiton with separate extensions', () => {
it('schema definition with separate extensions', () => {
expectValidSDL(`
type Foo
Expand All @@ -80,7 +80,7 @@ describe('Validate: Unique operation types', () => {
`);
});

it('extend schema before defintion', () => {
it('extend schema before definition', () => {
expectValidSDL(`
type Foo
Expand All @@ -91,7 +91,7 @@ describe('Validate: Unique operation types', () => {
`);
});

it('duplicate operation types inside single schema defintion', () => {
it('duplicate operation types inside single schema definition', () => {
expectSDLErrors(`
type Foo
Expand All @@ -111,7 +111,7 @@ describe('Validate: Unique operation types', () => {
]);
});

it('duplicate inside schema extension', () => {
it('duplicate operation types inside schema extension', () => {
expectSDLErrors(`
type Foo
Expand All @@ -133,7 +133,7 @@ describe('Validate: Unique operation types', () => {
]);
});

it('duplicate inside schema extension twice', () => {
it('duplicate operation types inside schema extension twice', () => {
expectSDLErrors(`
type Foo
Expand Down Expand Up @@ -164,7 +164,7 @@ describe('Validate: Unique operation types', () => {
]);
});

it('duplicate inside second schema extension', () => {
it('duplicate operation types inside second schema extension', () => {
expectSDLErrors(`
type Foo
Expand Down Expand Up @@ -223,7 +223,7 @@ describe('Validate: Unique operation types', () => {
expectValidSDL(sdl, schema);
});

it('adding conflicting operation type to existing schema', () => {
it('adding conflicting operation types to existing schema', () => {
const schema = buildSchema(`
type Query
type Mutation
Expand All @@ -247,7 +247,7 @@ describe('Validate: Unique operation types', () => {
]);
});

it('adding conflicting operation type to existing schema twice', () => {
it('adding conflicting operation types to existing schema twice', () => {
const schema = buildSchema(`
type Query
type Mutation
Expand Down

0 comments on commit 68f4d07

Please sign in to comment.