runStoreTest

fun <T> runStoreTest(storeBuilder: CoroutineScope.() -> StoreFlow<T>, context: CoroutineContext = UnconfinedTestDispatcher(), testBody: suspend TestScope.(StoreFlow<T>) -> Unit): TestResult

Creates the StoreFlow defined in storeBuilder using the given context. Then executes the testBody, shutting down the StoreFlow when finished.