Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typos #2157

Merged
merged 1 commit into from Sep 6, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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