UNPKG

@amiceli/vitest-cucumber

Version:

vitest tools to use Gherkin feature in unit tests

23 lines (22 loc) 703 B
export type DescribesToRun = Array<{ skipped: boolean; only: boolean; describeTitle: string; describeHandler: () => void; }>; type DescribesToRunOrSkip = { describeToRun: DescribesToRun; describeToSkip: DescribesToRun; onlyDescribeToRun: DescribesToRun; }; export declare function defineRuleScenarioToRun(options: { describes: DescribesToRun; ruleBackground: DescribesToRun[0] | null; featureBackground: DescribesToRun[0] | null; }): DescribesToRunOrSkip; export declare function defineScenarioToRun(options: { describes: DescribesToRun; describeRules: DescribesToRun; featureBackground: DescribesToRun[0] | null; }): DescribesToRunOrSkip; export {};