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

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

上级 fbb8dd52
......@@ -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);
}
});
......@@ -147,7 +146,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.
先完成此消息的编辑!
想要评论请 注册