Skip to content

Commit 2a04019

Browse files
committed
Fix build
1 parent 5010bb8 commit 2a04019

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/language/__tests__/parser-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ describe('Parser', () => {
360360

361361
it('allows parsing without source location information', () => {
362362
const result = parse('{ id }', { noLocation: true });
363-
expect(result).to.not.haveOwnProperty('loc');
363+
expect('loc' in result).to.equal(false);
364364
});
365365

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

0 commit comments

Comments
 (0)