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

Method get

packages/jest-runtime/src/internals/ModuleExecutor.ts:112–115  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

110 Object.defineProperty(module, 'parent', {
111 enumerable: true,
112 get() {
113 const key = from || '';
114 return moduleRegistry.get(key) || null;
115 },
116 });
117 const modulePaths = this.resolution.getModulePaths(module.path);
118 const globalPaths = this.resolution.getGlobalPaths(moduleName);

Callers 15

_requireMockWithIdMethod · 0.45
tryLoadGraphSyncMethod · 0.45
tryCommitSyntheticMethod · 0.45
buildSyncWasmEntryMethod · 0.45
loadEsmModuleMethod · 0.45
resolveModuleMethod · 0.45
linkAndEvaluateModuleMethod · 0.45
loadCjsAsEsmMethod · 0.45
findManualMockMethod · 0.45
resolveCachedMethod · 0.45
getResultMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected