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

Function exit

packages/babel-plugin-jest-hoist/src/index.ts:368–371  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

366 stack.push({calls: [], vars: []});
367 },
368 exit(path) {
369 const item = stack.pop()!;
370 path.node.body.unshift(...item.vars, ...item.calls);
371 },
372 },
373 CallExpression(callExpr: NodePath<CallExpression>) {
374 if (hoistedJestGetters.has(callExpr.node)) {

Callers 11

runFunction · 0.85
readResultsAndExitFunction · 0.85
onKeypressFunction · 0.85
_bailIfNeededMethod · 0.85
runJestFunction · 0.85
runCLIFunction · 0.85
runWatchFunction · 0.85
runCLIFunction · 0.85
CoverageWorker.tsFile · 0.85
onRunCompleteMethod · 0.85
testWorker.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected