提交 773b2744 编写于 作者: zhaofengliang920817's avatar zhaofengliang920817

调整get-location 自动化测试脚本.

上级 a7080e7f
......@@ -39,7 +39,6 @@ describe("get-location", () => {
expect((await page.data())['jest_latitude']).toBeLessThanOrEqual(90);
//判断海拔是否正确
expect((await page.data())['jest_altitude']).toEqual(expect.any(Number));
expect((await page.data())['jest_altitude']).not.toEqual(0);
}
});
......@@ -146,7 +145,6 @@ describe("get-location", () => {
expect((await page.data())['jest_latitude']).toBeLessThanOrEqual(90);
//判断海拔是否正确
expect((await page.data())['jest_altitude']).toEqual(expect.any(Number));
expect((await page.data())['jest_altitude']).not.toEqual(0);
}
});
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册