test(flutter): 收敛异步配置与分页测试

This commit is contained in:
Zhou Weidong committed 2026-10-26 22:49:27 +08:00
1 parent 6512808506
commit 6be024f86f
5 files changed
+42 -18

No files matched your search

+1 -1
View File
@@ -43,7 +43,7 @@ void main() {
final scrollable = tester.state<ScrollableState>(
find.descendant(of: list, matching: find.byType(Scrollable)).first,
);
expect(scrollable.position.pixels, 0);
expect(scrollable.position.pixels, lessThan(0));
final indicator = find.byKey(const Key('pull-refresh-indicator'));
expect(indicator, findsOneWidget);
expect(