Function: assertionChainHasProperty()
function assertionChainHasProperty(
node: CallExpression,
propertyNames: ReadonlySet<string>
): boolean;
Defined in: _internal/test-ast.ts:556
Check whether an expect(...) assertion chain contains one of the requested
modifier properties.
Parametersโ
nodeโ
CallExpression
propertyNamesโ
ReadonlySet<string>
Returnsโ
boolean