UNPKG

@allurereport/plugin-classic

Version:

The classic version of Allure HTML report

27 lines (26 loc) 731 B
import type { TestResult, TestStatus } from "@allurereport/core-api"; export type ClassicOptions = { reportName?: string; singleFile?: boolean; logo?: string; theme?: "light" | "dark" | "auto"; reportLanguage?: string; groupBy?: string[]; ci?: { type: "github" | "jenkins"; url: string; name: string; }; filter?: (tr: TestResult) => boolean; }; export type TemplateManifest = Record<string, string>; export type ClassicPluginOptions = ClassicOptions; export interface ClassicCategory { name: string; description?: string; descriptionHtml?: string; messageRegex?: string; traceRegex?: string; matchedStatuses?: TestStatus[]; flaky?: boolean; }