Test options for the datatype under test.
Instances to test. Key is typeclass name and value is the instance under
test. For example, { Monad: Option.Monad } will run the monad typeclass
laws on Option.
Optionalparameters: ParameterOverridesOptional runtime fast-check parameters.
Test typeclass laws on the given instances of some datatype F. All laws are
monomorphic on an underlying type of {x: number; y: string}.
Test options for the datatype under test.
Instances to test. Key is typeclass name and value is the
instance under test. For example, { Monad: Option.Monad } will run the
monad typeclass laws on Option.
Optionalparameters: ParameterOverridesOptional runtime fast-check parameters.
Test typeclass laws on the given instances of some datatype
F. All laws are monomorphic on an underlying type ofOption<number@.. At the propertytestTypeclassLaws.underlyingPropsyou will find the same function, except it uses the underlying type `{x: number; y: string}, useful when testing laws on React components, as they can only accept a single object argument.