allure-cucumberjs
Version:
Allure Cucumber.JS integration
15 lines (14 loc) • 570 B
TypeScript
import type { LabelName } from "allure-js-commons";
import type { LinkConfig, LinkTypeOptions, ReporterConfig } from "allure-js-commons/sdk/reporter";
export declare const ALLURE_SETUP_REPORTER_HOOK = "__allure_reporter_setup_hook__";
export type LabelConfig = {
pattern: RegExp[];
name: LabelName | string;
};
export type AllureCucumberLinkConfig = LinkConfig<LinkTypeOptions & {
pattern: RegExp[];
}>;
export interface AllureCucumberReporterConfig extends Omit<ReporterConfig, "links"> {
links?: AllureCucumberLinkConfig;
labels?: LabelConfig[];
}