From 86725fc0e8aa27531446107fbd077c2342f7a735 Mon Sep 17 00:00:00 2001 From: XHY Date: Mon, 21 Oct 2024 16:43:16 +0800 Subject: [PATCH] =?UTF-8?q?native-view=20=E6=B5=8B=E8=AF=95=E4=BE=8B?= =?UTF-8?q?=E5=B1=8F=E8=94=BD=E4=BD=8E=E7=89=88=E6=9C=ACxcode=E7=9A=84?= =?UTF-8?q?=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit (cherry picked from commit a69c09c10a8a64bd8c207d783c74fc3560fd28be) --- pages/component/native-view/native-view.test.js | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/pages/component/native-view/native-view.test.js b/pages/component/native-view/native-view.test.js index d0578f05..9ee072e1 100644 --- a/pages/component/native-view/native-view.test.js +++ b/pages/component/native-view/native-view.test.js @@ -5,6 +5,19 @@ describe('native-view.uvue', () => { }) return } + + if(process.env.uniTestPlatformInfo.toLowerCase().startsWith('ios')) { + const platformInfo = process.env.uniTestPlatformInfo.toLocaleLowerCase() + if( + platformInfo.indexOf('14.5') != -1 || + platformInfo.indexOf('13.7') != -1 || + platformInfo.indexOf('12.4') != -1 + ){ + expect(1).toBe(1) + return + } + } + beforeAll(async () => { page = await program.reLaunch('/pages/component/native-view/native-view') }); -- GitLab