@cucumber/tag-expressions
v6.1.1
Published
Cucumber Tag Expression parser
Downloads
6,361,894
Readme
Cucumber Tag Expressions for JavaScript
Example
import {TagExpressionParser} from '@cucumber/tag-expressions'
const parser = new TagExpressionParser()
const expressionNode = parser.parse('@tagA and @tagB')
expressionNode.evaluate(["@tagA", "@tagB"]) // => true
expressionNode.evaluate(["@tagA", "@tagC"]) // => false