Preparing search index...
The search index is not available
@muselesscreator/react-shallow-snapshot
@muselesscreator/react-shallow-snapshot
setMockName
Function setMockName
set
Mock
Name
(
fn
,
name
)
:
void
Mock a single function so that its name shows up in snapshots.
Parameters
fn
:
(
(
)
=>
unknown
)
(
)
:
unknown
Returns
unknown
name
:
string
Returns
void
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
@muselesscreator/react-shallow-snapshot
Loading...
Generated using
TypeDoc
Mock a single function so that its name shows up in snapshots.