Skip to content

Function: composeTagExpressions()

@termwright/gherkin


@termwright/gherkin / composeTagExpressions

composeTagExpressions(configured, requested): string | undefined

Defined in: plugin.ts:436

Combines the project’s tag filter with the one a command line asked for.

Both are Cucumber tag expressions and both are restrictions, so the answer is their conjunction — a config selecting @component and a run asking for not @slow means both, not whichever was read last. Each side is parenthesised because tag expressions contain or, and a or b and c is not what either author wrote.

string | undefined

string | undefined

string | undefined