Skip to main content
Deno.TestStepDefinition.fn - Deno documentation
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.

Type

(t: TestContext) => void | Promise<void>