From c9fc7b360091ad3721d6ee745b6cf2d19e128b2b Mon Sep 17 00:00:00 2001 From: shutao Date: Mon, 21 Oct 2024 15:45:43 +0800 Subject: [PATCH] =?UTF-8?q?update=20list-view/list-view.test.js=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=87=AA=E5=8A=A8=E5=8C=96=E5=A4=B1=E8=B4=A5?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/component/list-view/list-view.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/component/list-view/list-view.test.js b/pages/component/list-view/list-view.test.js index 4d6a0f2c..7e0f6261 100644 --- a/pages/component/list-view/list-view.test.js +++ b/pages/component/list-view/list-view.test.js @@ -47,7 +47,7 @@ describe('component-native-list-view', () => { expect(scrollDetail.scrollWidth).toBeGreaterThan(0) expect(scrollDetail.deltaX).toBe(0) //此处可判断安卓issues:9121的问题 - expect([300, 299.8095]).toContain(scrollDetail.deltaY); + expect([300.1905, 300, 299.8095]).toContain(scrollDetail.deltaY); expect(await page.data('isScrollTest')).toBe('scroll:Success') }) -- GitLab