Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/jestjs/jest
/ getMockName
Method
getMockName
packages/jest-mock/src/index.ts:141–141 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
139
_protoImpl: Function;
140
getMockImplementation(): T | undefined;
141
getMockName(): string;
142
mock: MockFunctionState<T>;
143
mockClear(): this;
144
mockReset(): this;
Callers
13
index.test.ts
File · 0.80
mock-functions.test.ts
File · 0.80
createToHaveBeenCalledMatcher
Function · 0.80
createToHaveReturnedMatcher
Function · 0.80
createToHaveBeenCalledTimesMatcher
Function · 0.80
createToHaveReturnedTimesMatcher
Function · 0.80
createToHaveBeenCalledWithMatcher
Function · 0.80
createToHaveReturnedWithMatcher
Function · 0.80
createToHaveBeenLastCalledWithMatcher
Function · 0.80
createToHaveLastReturnedWithMatcher
Function · 0.80
createToHaveBeenNthCalledWithMatcher
Function · 0.80
createToHaveNthReturnedWithMatcher
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected