Interface for synchronous property, see IRawProperty

Remarks

Since 1.19.0

interface IProperty {
    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

Properties

runAfterEach?: (() => void)

Type declaration

    • (): void
    • Run after each hook

      Returns void

      Remarks

      Since 3.4.0

runBeforeEach?: (() => void)

Type declaration

    • (): void
    • Run before each hook

      Returns void

      Remarks

      Since 3.4.0

Methods

Generated using TypeDoc