From fd95e60d1fca7407a11a1d1e370d61ea8431a1cb Mon Sep 17 00:00:00 2001 From: Christoph Zwerschke Date: Tue, 4 Sep 2018 22:28:05 +0200 Subject: [PATCH] Minor typo/spelling fixes --- src/subscription/subscribe.js | 2 +- src/validation/__tests__/KnownArgumentNames-test.js | 2 +- src/validation/__tests__/KnownDirectives-test.js | 2 +- src/validation/__tests__/ProvidedRequiredArguments-test.js | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/subscription/subscribe.js b/src/subscription/subscribe.js index ebd52f8086..4b2e74ac73 100644 --- a/src/subscription/subscribe.js +++ b/src/subscription/subscribe.js @@ -42,7 +42,7 @@ import { getOperationRootType } from '../utilities/getOperationRootType'; * compliant subscription, a GraphQL Response (ExecutionResult) with * descriptive errors and no data will be returned. * - * If the the source stream could not be created due to faulty subscription + * If the source stream could not be created due to faulty subscription * resolver logic or underlying systems, the promise will resolve to a single * ExecutionResult containing `errors` and no `data`. * diff --git a/src/validation/__tests__/KnownArgumentNames-test.js b/src/validation/__tests__/KnownArgumentNames-test.js index 8c8f85d51a..015f84ee66 100644 --- a/src/validation/__tests__/KnownArgumentNames-test.js +++ b/src/validation/__tests__/KnownArgumentNames-test.js @@ -268,7 +268,7 @@ describe('Validate: Known argument names', () => { ]); }); - it('unknown arg on overrided standard directive', () => { + it('unknown arg on overridden standard directive', () => { expectSDLErrors(` type Query { foo: String @deprecated(reason: "") diff --git a/src/validation/__tests__/KnownDirectives-test.js b/src/validation/__tests__/KnownDirectives-test.js index 183b129e9c..d12a40e8bb 100644 --- a/src/validation/__tests__/KnownDirectives-test.js +++ b/src/validation/__tests__/KnownDirectives-test.js @@ -207,7 +207,7 @@ describe('Validate: Known directives', () => { `).to.deep.equal([]); }); - it('with overrided standard directive', () => { + it('with overridden standard directive', () => { expectSDLErrors(` schema @deprecated { query: Query diff --git a/src/validation/__tests__/ProvidedRequiredArguments-test.js b/src/validation/__tests__/ProvidedRequiredArguments-test.js index b03b3a299d..6d6c6c8563 100644 --- a/src/validation/__tests__/ProvidedRequiredArguments-test.js +++ b/src/validation/__tests__/ProvidedRequiredArguments-test.js @@ -321,7 +321,7 @@ describe('Validate: Provided required arguments', () => { ]); }); - it('Missing arg on overrided standard directive', () => { + it('Missing arg on overridden standard directive', () => { expectSDLErrors(` type Query { foo: String @deprecated