UNPKG

@fast-check/jest

Version:

Property based testing for Jest based on fast-check

14 lines (13 loc) 478 B
import { n as It, t as FastCheckItBuilder } from "./TestBuilder-05FM0mrx.js"; import * as fc from "fast-check"; import { PropertyForOptions } from "@fast-check/worker"; import { jestExpect } from "@jest/expect"; //#region src/jest-fast-check-worker.d.ts type InitOutput = { test: FastCheckItBuilder<It>; it: FastCheckItBuilder<It>; expect: typeof jestExpect; }; declare const init: (url: URL, options?: PropertyForOptions) => InitOutput; //#endregion export { fc, init };