@fast-check/jest
Version:
Property based testing for Jest based on fast-check
4 lines (3 loc) • 533 B
TypeScript
import type { Parameters as FcParameters } from 'fast-check';
import type { Prop, It, ArbitraryTuple, JestExtra, FcExtra } from './types.js';
export declare function buildTestWithPropRunner<Ts extends [any] | any[], TsParameters extends Ts = Ts>(testFn: It | It['only' | 'skip' | 'failing' | 'concurrent'] | It['concurrent']['only' | 'skip' | 'failing'], label: string, arbitraries: ArbitraryTuple<Ts>, prop: Prop<Ts>, params: FcParameters<TsParameters> | undefined, timeout: number | undefined, jest: JestExtra, fc: FcExtra): void;