Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/jestjs/jest
/ addDependency
Function
addDependency
packages/jest-haste-map/src/__tests__/dependencyExtractor.js:18–21 ·
view source on GitHub ↗
(match, pre, quot, dep, post)
Source
from the content-addressed store, hash-verified
16
const
dependencies = defaultDependencyExtractor(code);
17
18
const
addDependency = (match, pre, quot, dep, post) => {
19
dependencies.add(dep);
20
return
match;
21
};
22
23
code
24
.replaceAll(blockCommentRe,
''
)
Callers
nothing calls this directly
Calls
1
add
Method · 0.45
Tested by
no test coverage detected