mirror of
https://github.com/element-hq/element-android
synced 2024-11-26 19:35:42 +03:00
Fix test compilation issue
This commit is contained in:
parent
71bd4f457a
commit
9768430d5c
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ fun String.trimIndentOneLine() = trimIndent().replace("\n", "")
|
|||
fun <S : MavericksState, VA : VectorViewModelAction, VE : VectorViewEvents> VectorViewModel<S, VA, VE>.test(): ViewModelTest<S, VE> {
|
||||
val testResultCollectingScope = CoroutineScope(Dispatchers.Unconfined)
|
||||
val state = stateFlow.test(testResultCollectingScope)
|
||||
val viewEvents = viewEvents.stream().test(testResultCollectingScope)
|
||||
val viewEvents = viewEvents.stream("test").test(testResultCollectingScope)
|
||||
return ViewModelTest(state, viewEvents)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue