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 5010bb8 commit 2a04019Copy full SHA for 2a04019
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).to.not.haveOwnProperty('loc');
+ expect('loc' in result).to.equal(false);
364
});
365
366
it('Legacy: allows parsing fragment defined variables', () => {
0 commit comments