turbineScope

suspend fun turbineScope(timeout: Duration? = null, validate: suspend TurbineContext.() -> Unit)

Run a validation block that catches and reports all unhandled exceptions in flows run by Turbine.