Returns a function that runs for each item in table
.
method
test.Describe.each
table: readonly T[]
): (label: DescribeLabel, fn: (...args: [...T[]]) => void | Promise<unknown>, options?: number | TestOptions) => void;
@param table
Array of Arrays with the arguments that are passed into the test fn for each row.
table: readonly T[]
): (label: DescribeLabel, fn: (...args: Readonly<T>) => void | Promise<unknown>, options?: number | TestOptions) => void;
table: T[]
): (label: DescribeLabel, fn: (...args: T[]) => void | Promise<unknown>, options?: number | TestOptions) => void;