Something went wrong. Try again.
[[MIRROR from GitHub]] Property based testing framework for JavaScript (like QuickCheck) written in TypeScript fast-check.dev
Something went wrong. Try again.
221 B · 5 lines
JavaScript
at main
123456import { constant } from 'fast-check';import { propertyFor, assert } from '@fast-check/worker';
const property = propertyFor(new URL(import.meta.url));assert(property(constant(null), (data) => Object.is(data, null)));