diff --git a/pages/API/get-location/get-location.test.js b/pages/API/get-location/get-location.test.js index fba2e165917a9ec9708d46616dc99280c8f2fc3a..6c0d72d2d635414da0fc4c312344852a08971aef 100644 --- a/pages/API/get-location/get-location.test.js +++ b/pages/API/get-location/get-location.test.js @@ -110,8 +110,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); + } });