jest-allure2-reporter
Version:
Idiomatic Jest reporter for Allure Framework
12 lines (11 loc) • 530 B
TypeScript
import type { Function_ } from '../../utils';
import type { AllureRuntime, HandlebarsAPI, UserParameter } from '../types';
export type FunctionalStepsModuleContext = {
runtime: Pick<AllureRuntime, 'step' | 'parameter'>;
handlebars: HandlebarsAPI;
};
export declare class StepsDecorator {
protected readonly context: FunctionalStepsModuleContext;
constructor(context: FunctionalStepsModuleContext);
createStep<T, F extends Function_<T>>(nameFormat: string, function_: F, userParameters?: UserParameter[]): F;
}