jest-allure2-reporter
Version:
Idiomatic Jest reporter for Allure Framework
13 lines (12 loc) • 626 B
TypeScript
import type { GlobalMetadata, Metadata, TestFileMetadata } from 'jest-metadata';
import type { ContentAttachmentHandler, FileAttachmentHandler, MIMEInferer, SharedReporterConfig } from './types';
export interface AllureRuntimeConfig {
readonly contentAttachmentHandlers?: Record<string, ContentAttachmentHandler>;
readonly fileAttachmentHandlers?: Record<string, FileAttachmentHandler>;
readonly inferMimeType?: MIMEInferer;
getReporterConfig(): SharedReporterConfig;
getCurrentMetadata(): Metadata;
getFileMetadata(): TestFileMetadata;
getGlobalMetadata(): GlobalMetadata;
getNow(): number;
}