Skip to content

Commit

Permalink
Add test for #3061
Browse files Browse the repository at this point in the history
  • Loading branch information
leebyron committed May 6, 2021
1 parent 002fb91 commit 5010bb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/language/__tests__/parser-test.js
Expand Up @@ -360,7 +360,7 @@ describe('Parser', () => {

it('allows parsing without source location information', () => {
const result = parse('{ id }', { noLocation: true });
expect(result.loc).to.equal(undefined);
expect(result).to.not.haveOwnProperty('loc');
});

it('Legacy: allows parsing fragment defined variables', () => {
Expand Down

0 comments on commit 5010bb8

Please sign in to comment.