提交 0aa09efa 编写于 作者: DCloud_iOS_XHY's avatar DCloud_iOS_XHY

优化 scroll-view-custom-refresher 测试例

(cherry picked from commit c3f63af0)
上级 fb9f64d6
...@@ -30,7 +30,7 @@ describe('touch-events-test', () => { ...@@ -30,7 +30,7 @@ describe('touch-events-test', () => {
it('test-custom-refresher', async () => { it('test-custom-refresher', async () => {
let x = 100 let x = 100
let y = 250 let y = 180
await page.setData({ await page.setData({
triggered: false, triggered: false,
...@@ -47,7 +47,7 @@ describe('touch-events-test', () => { ...@@ -47,7 +47,7 @@ describe('touch-events-test', () => {
}, },
endPoint: { endPoint: {
x: x, x: x,
y: y - 100 y: y + 100
}, },
duration: 300 duration: 300
}) })
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册