From 70b54085b82f07d25f1fefb87beb25f7230d1568 Mon Sep 17 00:00:00 2001 From: zhenyuWang <13641039885@163.com> Date: Thu, 21 Nov 2024 18:14:35 +0800 Subject: [PATCH] =?UTF-8?q?test(chooseLocation):=20=E8=A7=84=E9=81=BF?= =?UTF-8?q?=E5=BE=AE=E4=BF=A1=E5=B0=8F=E7=A8=8B=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../choose-location/choose-location.test.js | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/pages/API/choose-location/choose-location.test.js b/pages/API/choose-location/choose-location.test.js index 7f64fbe8..0c5d08ce 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 () => { -- GitLab