expectStep

fun expectStep(vararg nodes: String, check: (State) -> Unit = {}): State

Checks that the next step ran nodes, all of them and no other, and passes the state after the step, with the results of its nodes combined, to check. The nodes of a step run at the same time and finish in any order, so this check, not expectNode, is the one for parallel branches.

Return

the state after the step.