MCPcopy
hub / github.com/jestjs/jest / toString

Method toString

packages/jest-mock/src/__tests__/index.test.ts:235–237  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

233 class ClassFoo {
234 foo() {}
235 toString() {
236 return 'Foo';
237 }
238 }
239
240 const ClassFooMock = moduleMocker.generateFromMetadata(

Callers 15

runTestFunction · 0.45
buildTestPathPatternsFunction · 0.45
parseWorkersFunction · 0.45
getCacheDirectoryFunction · 0.45
onKeypressFunction · 0.45
escapeControlCharactersFunction · 0.45
assertMethod · 0.45
assertMethod · 0.45
writeFunction · 0.45
readGlobalsCleanupConfigFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected