We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 268daed commit 68412bdCopy full SHA for 68412bd
workflow-runtime/src/commonTest/kotlin/com/squareup/workflow1/RenderWorkflowInTest.kt
@@ -51,7 +51,7 @@ class RenderWorkflowInTest {
51
val workflow = Workflow.stateless<String, Nothing, String> { "props: $it" }
52
// Don't allow the workflow runtime to actually start.
53
54
- val renderings = renderWorkflowIn(workflow, TestScope(), props) {}
+ val renderings = renderWorkflowIn(workflow, pausedTestScope, props) {}
55
assertEquals("props: foo", renderings.value.rendering)
56
}
57
@@ -180,7 +180,6 @@ class RenderWorkflowInTest {
180
181
sink.send("unchanging state")
182
183
- pausedTestScope.advanceUntilIdle()
184
scope.cancel()
185
186
assertFalse(snapped)
0 commit comments