On This Page

TestTimeoutError

Class in Testing · Testing

A test wait, such as TestRoute.next, idle or say, did not finish within the timeoutMs the test passed

Waits without timeoutMs never fail with it. A say that times out reports the idle wait

class TestTimeoutError extends FluxerlyErrorclass TestTimeoutError
  extends FluxerlyError

Constructor#

new TestTimeoutError(
    wait: "idle" | "next",
    timeoutMs: number
): TestTimeoutErrornew TestTimeoutError(
  wait: "idle" | "next",
  timeoutMs: number
): TestTimeoutError

Parameters

wait

The wait that timed out, such as next or idle

"idle" | "next"
timeoutMs

The timeout in milliseconds

number

Properties#

_tag#

Discriminator for a test wait that ran out of time

readonly _tag: "TestTimeoutError"

timeoutMs#

The timeout in milliseconds

readonly timeoutMs: number

wait#

The wait that timed out, such as next or idle

readonly wait: "idle" | "next"

Inherited#

Inherited from FluxerlyError: code, details, hint, toJSON