diff --git a/pages/API/choose-location/choose-location.test.js b/pages/API/choose-location/choose-location.test.js index 7f64fbe86e25be394c7c6c86e522aa7aceea842a..0c5d08ce7270cab9075baf4755db185a86f8808e 100644 --- a/pages/API/choose-location/choose-location.test.js +++ b/pages/API/choose-location/choose-location.test.js @@ -1,10 +1,19 @@ +const platformInfo = process.env.uniTestPlatformInfo.toLocaleLowerCase() +isWeixin = platformInfo == 'mp-weixin' + describe('dialog page', () => { if (process.env.UNI_AUTOMATOR_APP_WEBVIEW == 'true') { - it('skip app-webview', () => { - expect(1).toBe(1) - }) - return - } + it('skip app-webview', () => { + expect(1).toBe(1) + }) + return + } + if (isWeixin) { + it('skip app-webview', () => { + expect(1).toBe(1) + }) + return + } let page; beforeAll(async () => {