TimelineControllerTest: try removing flakiness of one test
This commit is contained in:
parent
60d3f24599
commit
e7c017af21
1 changed files with 4 additions and 1 deletions
|
|
@ -172,8 +172,11 @@ class TimelineControllerTest {
|
|||
)
|
||||
matrixRoom.givenTimelineFocusedOnEventResult(Result.success(detachedTimeline))
|
||||
val sut = TimelineController(matrixRoom)
|
||||
sut.focusOnEvent(AN_EVENT_ID)
|
||||
sut.activeTimelineFlow().test {
|
||||
awaitItem().also { state ->
|
||||
assertThat(state).isEqualTo(liveTimeline)
|
||||
}
|
||||
sut.focusOnEvent(AN_EVENT_ID)
|
||||
awaitItem().also { state ->
|
||||
assertThat(state).isEqualTo(detachedTimeline)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue