Const
Attempts to find a counterexample for the single given Law.
Meant to be called from inside a Vitest test suite, perhaps inside some describe() block, but not inside a test()/it() block.
Vitest
describe()
test()
it()
testLaw.skip, testLaw.only, testLaw.skipIf, and testLaw.runIf all behave just like their vitest counterparts.
vitest
See also checkLaw.
Tuple of types for law predicate arguments.
Law under test.
Attempts to find a counterexample for the single given Law.
Meant to be called from inside a
Vitest
test suite, perhaps inside somedescribe()
block, but not inside atest()
/it()
block.testLaw.skip, testLaw.only, testLaw.skipIf, and testLaw.runIf all behave just like their
vitest
counterparts.See also checkLaw.