Skip to content

Commit

Permalink
Typos (#2157)
Browse files Browse the repository at this point in the history
  • Loading branch information
Cito authored and IvanGoncharov committed Sep 6, 2019
1 parent 6609d39 commit ff282d7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/language/__tests__/parser-test.js
Expand Up @@ -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}');
Expand Down
2 changes: 1 addition & 1 deletion src/type/__tests__/scalars-test.js
Expand Up @@ -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');

Expand Down
2 changes: 1 addition & 1 deletion src/validation/__tests__/KnownTypeNames-test.js
Expand Up @@ -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 }
Expand Down

0 comments on commit ff282d7

Please sign in to comment.