提交 7efdd1c8 编写于 作者: 辛宝Otto's avatar 辛宝Otto 🥊

style: 格式化,功能无变化

上级 9aba327c
...@@ -290,7 +290,6 @@ describe('event trigger', () => { ...@@ -290,7 +290,6 @@ describe('event trigger', () => {
// ios only 坐标换算准确 // ios only 坐标换算准确
if (isIos) { if (isIos) {
page = await program.reLaunch(PAGE_PATH) page = await program.reLaunch(PAGE_PATH)
await page.waitFor('view') await page.waitFor('view')
...@@ -298,9 +297,9 @@ describe('event trigger', () => { ...@@ -298,9 +297,9 @@ describe('event trigger', () => {
x, x,
y y
] = await page.callMethod('jest_getRect') ] = await page.callMethod('jest_getRect')
expect(x > 0).toBe(true) expect(x > 0).toBe(true)
expect(y > 0).toBe(true) await program.tap({ expect(y > 0).toBe(true)
await program.tap({
x: x, x: x,
y: y y: y
}) })
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册