From 2a040191db5444b18a5018f5fa1edeb953968066 Mon Sep 17 00:00:00 2001 From: Lee Byron Date: Wed, 5 May 2021 20:54:42 -0700 Subject: [PATCH] Fix build --- src/language/__tests__/parser-test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/language/__tests__/parser-test.js b/src/language/__tests__/parser-test.js index ada7731747..661378b1d7 100644 --- a/src/language/__tests__/parser-test.js +++ b/src/language/__tests__/parser-test.js @@ -360,7 +360,7 @@ describe('Parser', () => { it('allows parsing without source location information', () => { const result = parse('{ id }', { noLocation: true }); - expect(result).to.not.haveOwnProperty('loc'); + expect('loc' in result).to.equal(false); }); it('Legacy: allows parsing fragment defined variables', () => {