playwright-bdd
Version:
BDD Testing with Playwright runner
24 lines • 691 B
TypeScript
import { StepData } from '../generate/test';
export type SnippetOptions = {
isTypeScript: boolean;
isPlaywrightStyle: boolean;
isDecorator: boolean;
};
export declare class Snippet {
private missingStep;
private options;
private generatedExpression;
code: string;
constructor(missingStep: StepData, options: SnippetOptions);
private get pickleStep();
private buildCode;
private buildDecoratorCode;
private getStepType;
private getPattern;
private getStepFunction;
private getStepFunctionArguments;
private getPatternArguments;
private getLastArgument;
private generateExpression;
}
//# sourceMappingURL=snippet.d.ts.map