method

test.TestWithContext.for

for<T>(
table: readonly T[]
): TestWithContext<Context, [row: T]>;
headings: TemplateStringsArray,
...values: any[]
): TestWithContext<Context, [row: any]>;

Referenced types

interface TestWithContext<Context, Row extends ReadonlyArray<unknown> = []>

A test whose callbacks receive the TestContext instead of a done callback.