UNSTABLE: New option, yet to be vetted.
Methods
step(t: TestStepDefinition): Promise<boolean>
Run a sub step of the parent test with a given name. Returns a promise
that resolves to a boolean signifying if the step completed successfully.
The returned promise never rejects unless the arguments are invalid.
If the test was ignored, the promise returns false
.
step(name: string, fn: (t: TestContext) => void | Promise<void>): Promise<boolean>
Run a sub step of the parent test with a given name. Returns a promise
that resolves to a boolean signifying if the step completed successfully.
The returned promise never rejects unless the arguments are invalid.
If the test was ignored, the promise returns false
.