提交 08512bdd 编写于 作者: DCloud-WZF's avatar DCloud-WZF 💬

test(getCurrentPages): 修复 web 端测试失败问题

上级 77579008
...@@ -8,7 +8,7 @@ describe('getCurrentPages', () => { ...@@ -8,7 +8,7 @@ describe('getCurrentPages', () => {
if (process.env.uniTestPlatformInfo.startsWith('web')) { if (process.env.uniTestPlatformInfo.startsWith('web')) {
const waitTime = process.env.uniTestPlatformInfo.includes('safari') ? const waitTime = process.env.uniTestPlatformInfo.includes('safari') ?
5000 : 5000 :
1000 3000
await new Promise((resolve) => { await new Promise((resolve) => {
setTimeout(() => { setTimeout(() => {
resolve() resolve()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册