提交 73fc5465 编写于 作者: DCloud-WZF's avatar DCloud-WZF 💬

test: 优化 onLoad 测试

上级 86861db3
...@@ -72,7 +72,6 @@ describe("onLoad", () => { ...@@ -72,7 +72,6 @@ describe("onLoad", () => {
failureThreshold: 0.05, failureThreshold: 0.05,
failureThresholdType: "percent", failureThresholdType: "percent",
}); });
await program.callUniMethod('hideToast')
}); });
it("showLoading", async () => { it("showLoading", async () => {
page = await program.reLaunch(INTERMEDIATE_PAGE_PATH); page = await program.reLaunch(INTERMEDIATE_PAGE_PATH);
...@@ -91,7 +90,6 @@ describe("onLoad", () => { ...@@ -91,7 +90,6 @@ describe("onLoad", () => {
failureThreshold: 0.05, failureThreshold: 0.05,
failureThresholdType: "percent", failureThresholdType: "percent",
}); });
await program.callUniMethod('hideLoading')
}); });
it("showModal", async () => { it("showModal", async () => {
page = await program.reLaunch(INTERMEDIATE_PAGE_PATH); page = await program.reLaunch(INTERMEDIATE_PAGE_PATH);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册