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

移除已废弃字段的检测

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