//workflow/com.squareup.workflow1.testing/RenderTester/render
render¶
[jvm]
Content
abstract fun render(block: (RenderingT) -> Unit = {}): RenderTestResult<PropsT, StateT, OutputT>
More info
Execute the workflow’s render method and run block to perform assertions on and send events to the resulting rendering.
All workflows rendered/ran by the workflow must be specified before calling this method. Workers are optionally specified.
Return¶
A RenderTestResult that can be used to verify the WorkflowAction that was used to handle a workflow or worker output or a rendering event.
Parameters¶
jvm