提交 1739a4e3 编写于 作者: DCloud_iOS_WZT's avatar DCloud_iOS_WZT

移除已废弃字段的检测

上级 ae6439e8
......@@ -10,10 +10,7 @@ describe('ExtApi-GetAppBaseInfo', () => {
]
const numberProperties = [
'uniCompilerVersionCode', 'uniRuntimeVersionCode'
]
if (process.env.uniTestPlatformInfo.indexOf('web') === -1) {
stringProperties.push('version')
}
]
beforeAll(async () => {
page = await program.reLaunch(PAGE_PATH)
await page.waitFor(600);
......
......@@ -15,12 +15,7 @@ describe('ExtApi-GetSystemInfo', () => {
'windowWidth',
'windowHeight', 'windowTop', 'windowBottom', 'screenTop',
'uniCompilerVersionCode', 'uniRuntimeVersionCode'
]
if (process.env.uniTestPlatformInfo.indexOf('web') === -1) {
stringProperties.push('version')
}
]
beforeAll(async () => {
page = await program.reLaunch(PAGE_PATH)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册