We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 002fb91 commit 5010bb8Copy full SHA for 5010bb8
src/language/__tests__/parser-test.js
@@ -360,7 +360,7 @@ describe('Parser', () => {
360
361
it('allows parsing without source location information', () => {
362
const result = parse('{ id }', { noLocation: true });
363
- expect(result.loc).to.equal(undefined);
+ expect(result).to.not.haveOwnProperty('loc');
364
});
365
366
it('Legacy: allows parsing fragment defined variables', () => {
0 commit comments