Introduce simulateLongTask to ensure that the Presenter State Loading is visible.

Also do some cleanup on the tests.
This commit is contained in:
Benoit Marty
2023-06-15 10:57:05 +02:00
parent f320dc77ed
commit 9b4b9e9140
25 changed files with 169 additions and 180 deletions
@@ -71,7 +71,7 @@ class RoomListScreen(
networkMonitor = NetworkMonitorImpl(context),
snackbarDispatcher = SnackbarDispatcher(),
inviteStateDataSource = DefaultInviteStateDataSource(matrixClient, DefaultSeenInvitesStore(context), coroutineDispatchers),
leaveRoomPresenter = LeaveRoomPresenterImpl(matrixClient, RoomMembershipObserver() ,coroutineDispatchers)
leaveRoomPresenter = LeaveRoomPresenterImpl(matrixClient, RoomMembershipObserver(), coroutineDispatchers)
)
@Composable