fast-check
Version:
Property based testing framework for JavaScript (like QuickCheck)
24 lines (23 loc) • 527 B
JavaScript
export class UnbiasedProperty {
constructor(property) {
this.property = property;
}
isAsync() {
return this.property.isAsync();
}
generate(mrng, _runId) {
return this.property.generate(mrng, undefined);
}
shrink(value) {
return this.property.shrink(value);
}
run(v) {
return this.property.run(v);
}
runBeforeEach() {
return this.property.runBeforeEach();
}
runAfterEach() {
return this.property.runAfterEach();
}
}