Node TAP
GitHub
node-tap.org
Preparing search index...
@tapjs/mocha-globals
before
Function before
before
(
block
:
HookBlock
)
:
any
Run a function at the start of the suite.
Equivalent to t.before()
Alias: suiteSetup()
Parameters
block
:
HookBlock
Returns
any
before
(
name
:
string
,
block
:
HookBlock
)
:
any
Run a function at the start of the suite.
Equivalent to t.before()
Alias: suiteSetup()
Parameters
name
:
string
block
:
HookBlock
Returns
any
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
GitHub
node-tap.org
Node TAP
Loading...
Run a function at the start of the suite.
Equivalent to t.before()
Alias: suiteSetup()