Implementation class returned by plugin

Constructors

Properties

Methods

Test Lifecycle Management

Constructors

Properties

#onBeforeEach: ((t) => any)[]

Type declaration

#refs: Map<TestBase, BeforeEach> = ...

Methods

  • Parameters

    • cb: (() => void)
        • (): void
        • Returns void

    Returns void

Test Lifecycle Management

  • Run the supplied function before any child tests, and all of their children, and so on.

    The test about to run is an argument to the function. While its test method has not yet run, it is safe to call test methods on it, but note that this may potentially be confusing if for example you call t.plan() and this conflicts with the t.plan() called in the test method.

    Parameters

    Returns void

Generated using TypeDoc