@amiceli/vitest-cucumber
Version:
vitest tools to use Gherkin feature in unit tests
21 lines (20 loc) • 704 B
TypeScript
import { StepAble } from './Stepable';
import { 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;
}
export declare class DefineScenario extends Scenario {
checkIfStepExists(stepType: string, stepDetails: string): Step;
}