提交 8833dfe2 编写于 作者: H hdx

test: 修复测试例在app平台报错的问题

上级 7f71f92b
let page let page
beforeAll(async () => { beforeAll(async () => {
if (!process.env.uniTestPlatformInfo.toLowerCase().startsWith('web')) {
return
}
page = await program.reLaunch('/pages/component/canvas/canvas') page = await program.reLaunch('/pages/component/canvas/canvas')
await page.waitFor(2000) await page.waitFor(2000)
}) })
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册