UNPKG

@amiceli/vitest-cucumber

Version:

vitest tools to use Gherkin feature in unit tests

18 lines (17 loc) 584 B
import { StepAble } from './Stepable'; import type { Step } from './step'; export declare class Scenario extends StepAble { description: string; constructor(description: string, title?: string); getTitle(): string; } export type Example = { [key: string]: any; }[]; export declare class ScenarioOutline extends Scenario { examples: Example; missingExamplesKeyword: boolean; constructor(description: string, title?: string); getStepTitle(step: Step, example: Example[0]): string; getStepDocStrings(step: Step, example: Example[0]): string | null; }