OptionaldescriptionDescribe the success-condition for this assertion.
OptionalfromWait for the machine to be in this state before assertion begins.
OptionallogNormally we want logs for assertions, right? Well, you can tune them just like you can with index.TStatebotOptions.
OptionalpermittedIf we hit an unexpected state during assertion, this is a "deviation". It might be that the FSM will come back to the expected state again after a certain number of these. For example, if your FSM has a "retry" route configured, this number can account for it.
OptionalrunRun this function just before starting the assertion.
OptionaltimeoutPermitted length of time for the entire assertion, in milliseconds.
assertRoute options.