Step(step: { name?: string; stack?: string[]; },error: Error,)
Add originating test step to stack trace.
Since there is a degree of indirection involved when composing functions (the code is defined from one place but executed from another), without this helper the real stack would be lost.
error: Error