From 392c7ab04dcb7a194834550a51c3754a83b66860 Mon Sep 17 00:00:00 2001 From: zhenyuWang <13641039885@163.com> Date: Fri, 26 Apr 2024 21:22:15 +0800 Subject: [PATCH] =?UTF-8?q?test(set-page-style):=20=E7=A7=BB=E9=99=A4=20io?= =?UTF-8?q?s=20=E5=B9=B3=E5=8F=B0=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../set-page-style-disable-pull-down-refresh.test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/API/get-current-pages/set-page-style-disable-pull-down-refresh.test.js b/pages/API/get-current-pages/set-page-style-disable-pull-down-refresh.test.js index 0753c3b8..22f5f225 100644 --- a/pages/API/get-current-pages/set-page-style-disable-pull-down-refresh.test.js +++ b/pages/API/get-current-pages/set-page-style-disable-pull-down-refresh.test.js @@ -1,7 +1,7 @@ const PAGE_PATH = '/pages/API/get-current-pages/set-page-style-disable-pull-down-refresh' describe('getCurrentPages', () => { - if (process.env.uniTestPlatformInfo.startsWith('IOS')) { + if (process.env.uniTestPlatformInfo.toLowerCase().startsWith('ios')) { it('not-support', async () => { expect(1).toBe(1) }) @@ -42,4 +42,4 @@ describe('getCurrentPages', () => { expect(image2).toSaveImageSnapshot(); }) -}) +}) -- GitLab