提交 a4208d70 编写于 作者: shutao-dc's avatar shutao-dc

update scroll-view-props.test.js

上级 a430e930
...@@ -42,7 +42,7 @@ describe('component-native-scroll-view', () => { ...@@ -42,7 +42,7 @@ describe('component-native-scroll-view', () => {
await page.setData({ await page.setData({
scrollIntoView: "" scrollIntoView: ""
}) })
expect(scrollTop-690).toBeGreaterThanOrEqual(0) expect(scrollTop-570).toBeGreaterThanOrEqual(0)
}) })
//检测横向可滚动区域 //检测横向可滚动区域
...@@ -79,7 +79,7 @@ describe('component-native-scroll-view', () => { ...@@ -79,7 +79,7 @@ describe('component-native-scroll-view', () => {
await page.setData({ await page.setData({
scrollIntoView: "" scrollIntoView: ""
}) })
expect(scrollLeft-1080).toBeGreaterThanOrEqual(0) expect(scrollLeft-930).toBeGreaterThanOrEqual(0)
}) })
}); });
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册