effect-ts-laws
Version:
effect-ts law testing using fast-check.
10 lines • 308 B
JavaScript
import { schemaLaws } from '../laws.js';
import { testLaws } from './testLaws.js';
/**
* Run the given schema through the schema law tests.
* @category vitest
*/
export const testSchemaLaws = (parameters) => (schema) => {
testLaws(schemaLaws(schema), parameters);
};
//# sourceMappingURL=schema.js.map