UNPKG

allure-js-commons

Version:
15 lines (14 loc) 693 B
import { Label } from "../../current/model"; import { ExecutableItem, Status } from "../model"; export declare const allureIdRegexp: RegExp; export declare const allureIdRegexpGlobal: RegExp; export declare const allureLabelRegexp: RegExp; export declare const allureLabelRegexpGlobal: RegExp; export declare const isAnyStepFailed: (item: ExecutableItem) => boolean; export declare const isAllStepsEnded: (item: ExecutableItem) => boolean; export declare const getStatusFromError: (error: Error) => Status; export declare const getSuitesLabels: (suites: string[]) => Label[]; export declare const extractMetadataFromString: (title: string) => { labels: Label[]; cleanTitle: string; };