UNPKG

jest-test-each

Version:

run parametrised tests easily [typesafe] without text tables or arrays of arrays.

22 lines (21 loc) 553 B
import { TestEach } from '../../test-each'; declare type ResultType = { failures: Failure[]; passes: Pass[]; totalEntities: number; suites: string[]; tests: string[]; skips: string[]; }; export declare const result: ResultType; export declare const cleanup: () => void; declare type Pass = { name: string; }; declare type Failure = { name: string; message: string; }; export declare const waitFinished: () => Promise<void>; export declare const createTest: (desc?: string | undefined) => TestEach<{}, {}>; export {};