Skip to main content

Function: containsExpectCallOutsideNestedFunctions()

containsExpectCallOutsideNestedFunctions(node: Node): boolean

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

Check whether a node contains an expect(...) or expect.*(...) call without entering nested function bodies.

Parametersโ€‹

nodeโ€‹

Node

Returnsโ€‹

boolean