Call this function to chain multiple Given
functions together sequentially in order to create an initial
state.
Alternatively, if you can nest another Given
inside the bodyFunc to express diverging "Story lines".
Once you finished describing all initial states, you can invoke a state change by calling When
inside the
bodyFunc of this function.
To validate an initial state with acceptance criteria, use Then
inside the bodyFunc of this function.
Generated using TypeDoc
This interface is implemented by the return value of a Story's
Given
function.It can be used to chain multiple
Given
functions together sequentially by calling.And
in order to create an initial state.