Function Expect

  • Performs an asynchronous assertion, allowing up to one second to pass before failing

    Type Parameters

    • T

    Parameters

    • selector: (() => T)

      A function that returns the subject of the assertion once it is expected to pass.

        • (): T
        • Returns T

    • assertion: ((m) => void)

      A function that is given the result of the selector function for normal jasmine assertions.

        • (m): void
        • Parameters

          • m: Matchers<T>

          Returns void

    • interval: number = 0
    • getTimeFunc: (() => number) = ...
        • (): number
        • Returns number

    Returns Promise<void>

Generated using TypeDoc