Type Parameters

  • T

  • SetupArgs = Record<string, unknown>

Hierarchy

  • TestSetup

Properties

Properties

setup: ((args?: SetupArgs) => Promise<T>)

Type declaration

    • (args?: SetupArgs): Promise<T>
    • Parameters

      • Optional args: SetupArgs

      Returns Promise<T>

teardown: (() => Promise<void>)

Type declaration