@fast-check/jest
Version:
Property based testing for Jest based on fast-check
13 lines (12 loc) • 475 B
TypeScript
import * as fc from 'fast-check';
import type { PropertyForOptions } from '@fast-check/worker';
import { jestExpect } from '@jest/expect';
import type { FastCheckItBuilder } from './internals/TestBuilder.js';
import type { It } from './internals/types.js';
type InitOutput = {
test: FastCheckItBuilder<It>;
it: FastCheckItBuilder<It>;
expect: typeof jestExpect;
};
export declare const init: (url: URL, options?: PropertyForOptions) => InitOutput;
export { fc };