Skip to main content

fn

property Deno.TestStepDefinition.fn

The test function that will be tested when this step is executed. The function can take an argument which will provide information about the current step's context.

(t: TestContext) => void | Promise<void>
Back to top