GitHub
node-tap.org
Preparing search index...
The search index is not available
Node TAP
Node TAP
@tapjs/mock
mock-require
mockRequire
Function mockRequire
Function that actually performs a mocked require()
mock
Require
(
module
,
mocks
?
,
caller
?
)
:
any
Parameters
module
:
string
Optional
mocks
:
{
[
k
:
string
]
:
any
;
}
[
k
:
string
]:
any
Optional
caller
:
Function
|
(
(
...
a
:
any
[]
)
=>
any
)
Returns
any
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
GitHub
node-tap.org
Node TAP
Loading...
Function that actually performs a mocked require()