GitHubnode-tap.org
  • Preparing search index...
  • The search index is not available
Node TAP
  • Node TAP
  • @tapjs/mocha-globals
  • before

Function before

  • before(block): any | void
  • Run a function at the start of the suite.

    Equivalent to t.before()

    Alias: suiteSetup()

    Parameters

    • block: HookBlock

    Returns any | void

    • Defined in mocha-globals/src/index.ts:196
  • before(name, block): any | void
  • Parameters

    • name: string
    • block: HookBlock

    Returns any | void

    • Defined in mocha-globals/src/index.ts:197

Settings

Member Visibility
GitHubnode-tap.org
Node TAP
  • Loading...

Generated using TypeDoc