From 40ac6ee52a147ab08a12c4bf99c8843521b376d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E4=BA=9A=E7=90=AA?= Date: Fri, 26 Apr 2024 19:17:11 +0800 Subject: [PATCH] =?UTF-8?q?test:=20=E5=9C=A8=E9=9D=9Euni-app-x=E8=87=AA?= =?UTF-8?q?=E5=8A=A8=E5=8C=96=E6=B5=8B=E8=AF=95=E6=97=B6=E5=B1=8F=E8=94=BD?= =?UTF-8?q?=E4=B8=8D=E6=94=AF=E6=8C=81=E7=9A=84=E6=B5=8B=E8=AF=95=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/index/basicTest.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/index/basicTest.test.js b/pages/index/basicTest.test.js index 1f07535..0f7cba3 100644 --- a/pages/index/basicTest.test.js +++ b/pages/index/basicTest.test.js @@ -36,7 +36,7 @@ describes.forEach(d => { }) }) -if (process.env.uniTestPlatformInfo.toLocaleLowerCase().startsWith('ios')) { +if (process.env.UNI_PROJECT_TYPE === '2.0' && process.env.uniTestPlatformInfo.toLocaleLowerCase().startsWith('ios')) { describe('testTypeFromAppJs', () => { it("jest_testTypeFromAppJs", async () => { const res = await page.callMethod('jest_testTypeFromAppJs') -- GitLab