mirror of
https://github.com/d4rken-org/capod.git
synced 2026-09-14 18:26:11 -04:00
test(error): Emit through the error flow in the dialog test
The fake source was asked to emit directly; SingleEventFlow's emitters live on the errorEvents flow itself, the way the ViewModels use them.
This commit is contained in:
@@ -50,7 +50,7 @@ class ComposeErrorDialogTest : BaseTest() {
|
||||
}
|
||||
}
|
||||
// Buffered channel: the event survives until the handler's collector attaches.
|
||||
source.emitBlocking(error)
|
||||
source.errorEvents.tryEmit(error)
|
||||
composeRule.waitForIdle()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user