Skip to main content

Function: assertionChainHasProperty()

assertionChainHasProperty(node: CallExpression, propertyNames: ReadonlySet<string>): boolean

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

Check whether an expect(...) assertion chain contains one of the requested modifier properties.

Parametersโ€‹

nodeโ€‹

CallExpression

propertyNamesโ€‹

ReadonlySet<string>

Returnsโ€‹

boolean