Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Test

Index

Properties

defaultTimeoutInSeconds

defaultTimeoutInSeconds: number

Methods

assert

  • assert<TValue>(value: Effect<TValue>, predicate: Predicate<TValue>, customMessage?: undefined | string, timeoutInSeconds?: number): this
  • Type parameters

    • TValue

    Parameters

    • value: Effect<TValue>
    • predicate: Predicate<TValue>
    • Optional customMessage: undefined | string
    • Default value timeoutInSeconds: number = this.defaultTimeoutInSeconds

    Returns this

if

perform

  • perform(action: Effect<void>, timeoutInSeconds?: number): this
  • Parameters

    • action: Effect<void>
    • Default value timeoutInSeconds: number = this.defaultTimeoutInSeconds

    Returns this

Static run

  • run<TContext>(context: TContext, defaultTimeoutInSeconds: number, callback: TestCallback<TContext>): Promise<void>
  • Type parameters

    • TContext

    Parameters

    • context: TContext
    • defaultTimeoutInSeconds: number
    • callback: TestCallback<TContext>

    Returns Promise<void>