runWithRenderScope

fun runWithRenderScope(block: suspend TestScope.(CoroutineScope) -> Unit): TestResult(source)

Runs a test with a structured child scope driven by the test scheduler and always cancels it afterward.