Type Alias StepFunction

StepFunction: (
    this: World,
    context: TestCaseContext,
    ...args: any,
) => Promisable<void>

A function to be executed as a step.

Type declaration

Can optionally return a promise, which will duly be awaited. The actual returned/resolved value is not read.