fix of InfinityPagedComponent

This commit is contained in:
2025-03-07 18:05:20 +06:00
parent a9859f6a0d
commit eda6221288
2 changed files with 41 additions and 23 deletions

View File

@@ -30,13 +30,13 @@ class InfinityPagedComponentTests {
}
) {
if (it == null) {
assertEquals(0, this.currentlyLoadingPage.value ?.page)
assertEquals(null, it)
} else {
assertEquals(expectedList, it)
}
LaunchedEffect(it ?.size) {
loadNext()
loadNext().join()
}
}
}