diff --git a/pages/component/native-view/native-view.test.js b/pages/component/native-view/native-view.test.js index 7cf66a70312b4ed4cd1827bf04eac94e676bd941..c2bf70a6a98d3ae8545ee7a96ee9884dc7c42206 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') });