@amiceli/vitest-cucumber
Version:
vitest tools to use Gherkin feature in unit tests
8 lines (7 loc) • 322 B
TypeScript
import type { Step } from '../models/step';
import { type ExpressionRegex } from './regexes';
export declare const builtInExpressionRegEx: ExpressionRegex[];
export declare class ExpressionStep {
static matchStep(step: Step, stepExpression: string): any[];
static stepContainsRegex(expression: string): boolean;
}