UNPKG

creevey

Version:

Cross-browser screenshot testing tool for Storybook with fancy UI Runner

29 lines (28 loc) 753 B
import EventEmitter from 'events'; export declare class JUnitReporter { private reportFile; private fileFd?; private logger; private creeveyReporter; private suites; private runStartTime; private suiteStartTimes; constructor(runner: EventEmitter, options: { reportDir: string; reporterOptions?: { outputFile?: string; }; }); private suiteKey; private getOrCreateSuite; private isImageMismatch; private writeElement; private writeTasks; private normalizePath; private relativeAttachmentPath; private gitlabAttachmentPath; private preferredGitlabAttachment; private writeAttachments; private writeFailureOrError; private onFinished; }