From ff282d7c58897061ae6304440c9037b340c39666 Mon Sep 17 00:00:00 2001 From: Christoph Zwerschke Date: Fri, 6 Sep 2019 17:26:53 +0200 Subject: [PATCH] Typos (#2157) --- src/language/__tests__/parser-test.js | 2 +- src/type/__tests__/scalars-test.js | 2 +- src/validation/__tests__/KnownTypeNames-test.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/language/__tests__/parser-test.js b/src/language/__tests__/parser-test.js index b704cded4f..6c0e8d4486 100644 --- a/src/language/__tests__/parser-test.js +++ b/src/language/__tests__/parser-test.js @@ -379,7 +379,7 @@ describe('Parser', () => { expect(() => parse(document)).to.throw('Syntax Error'); }); - it('contains location information that only stringifys start/end', () => { + it('contains location information that only stringifies start/end', () => { const result = parse('{ id }'); expect(JSON.stringify(result.loc)).to.equal('{"start":0,"end":6}'); diff --git a/src/type/__tests__/scalars-test.js b/src/type/__tests__/scalars-test.js index 1d2d5a143f..d9493a5bed 100644 --- a/src/type/__tests__/scalars-test.js +++ b/src/type/__tests__/scalars-test.js @@ -322,7 +322,7 @@ describe('Type System: Specified scalar types', () => { expect(parseLiteral('0')).to.equal('0'); expect(parseLiteral('-1')).to.equal('-1'); - // Support arbituary long numbers even if they can't be represented in JS + // Support arbitrary long numbers even if they can't be represented in JS expect(parseLiteral('90071992547409910')).to.equal('90071992547409910'); expect(parseLiteral('-90071992547409910')).to.equal('-90071992547409910'); diff --git a/src/validation/__tests__/KnownTypeNames-test.js b/src/validation/__tests__/KnownTypeNames-test.js index 7d38236a18..1c309846ec 100644 --- a/src/validation/__tests__/KnownTypeNames-test.js +++ b/src/validation/__tests__/KnownTypeNames-test.js @@ -175,7 +175,7 @@ describe('Validate: Known type names', () => { ]); }); - it('doesnot consider non-type definitions', () => { + it('does not consider non-type definitions', () => { expectSDLErrors(` query Foo { __typename } fragment Foo on Query { __typename }