diff --git a/pages/API/get-location/get-location.test.js b/pages/API/get-location/get-location.test.js index c75d37dd3ca368e1337845ab81cbfc3f859534d6..bd1669f16c55152519c6003d8f87c678b54d622a 100644 --- a/pages/API/get-location/get-location.test.js +++ b/pages/API/get-location/get-location.test.js @@ -111,8 +111,9 @@ describe("get-location", () => { await page.waitFor(async () => { return await page.data('jest_complete') === true; }); - - expect((await page.data())['jest_errCode']).toEqual(1505601); + if (isApp) { + expect((await page.data())['jest_errCode']).toEqual(1505601); + } });