Preparing search index...
The search index is not available
Comunica
Comunica
@comunica/utils-jest
jest
doMock
Function doMock
doMock
<
T
=
unknown
>
(
moduleName
:
string
,
factory
?:
()
=>
T
,
options
?:
MockOptions
,
)
:
typeof
jest
Mocks a module with an auto-mocked version when it is being required.
Type Parameters
T
=
unknown
Parameters
moduleName
:
string
Optional
factory
:
()
=>
T
Optional
options
:
MockOptions
Returns
typeof
jest
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Comunica
Loading...
Mocks a module with an auto-mocked version when it is being required.