提交 86725fc0 编写于 作者: DCloud_iOS_XHY's avatar DCloud_iOS_XHY

native-view 测试例屏蔽低版本xcode的测试

(cherry picked from commit a69c09c1)
上级 c9fc7b36
...@@ -5,6 +5,19 @@ describe('native-view.uvue', () => { ...@@ -5,6 +5,19 @@ describe('native-view.uvue', () => {
}) })
return 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 () => { beforeAll(async () => {
page = await program.reLaunch('/pages/component/native-view/native-view') page = await program.reLaunch('/pages/component/native-view/native-view')
}); });
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册