Interface for synchronous property, see IRawProperty

Remarks

Since 1.19.0

interface IProperty<Ts> {
    runAfterEach?: (() => void);
    runBeforeEach?: (() => void);
    generate(mrng, runId?): Value<Ts>;
    isAsync(): false;
    run(v, dontRunHook?): null | PreconditionFailure | PropertyFailure;
    shrink(value): Stream<Value<Ts>>;
}

Type Parameters

  • Ts

Hierarchy (view full)

Properties

runAfterEach?: (() => void)

Run after each hook

Type declaration

    • (): void
    • Returns void

Remarks

Since 3.4.0

runBeforeEach?: (() => void)

Run before each hook

Type declaration

    • (): void
    • Returns void

Remarks

Since 3.4.0

Methods