Skip to main content

Function: visitDescendantsOutsideNestedFunctions()

function visitDescendantsOutsideNestedFunctions(
node: Node,
visitor: (child: Node) => void
): void;

Defined in: _internal/test-ast.ts:407

Visit descendants under a starting AST node without entering nested function bodies. This keeps per-test and per-hook checks tied to code that actually runs in that callback.

Parametersโ€‹

nodeโ€‹

Node

visitorโ€‹

(child: Node) => void

Returnsโ€‹

void