UNPKG

@cucumber/cucumber

Version:

The official JavaScript implementation of Cucumber.

21 lines (20 loc) 928 B
import { EventEmitter } from 'node:events'; import { IFormatterStream } from '../formatter'; import { EventDataCollector } from '../formatter/helpers'; import { SupportCodeLibrary } from '../support_code_library_builder/types'; import { ILogger } from '../environment'; import { PluginManager } from '../plugin'; import { IRunOptionsFormats } from './types'; export declare function initializeFormatters({ env, cwd, stdout, logger, onStreamError, eventBroadcaster, eventDataCollector, configuration, supportCodeLibrary, pluginManager, }: { env: NodeJS.ProcessEnv; cwd: string; stdout: IFormatterStream; stderr: IFormatterStream; logger: ILogger; onStreamError: () => void; eventBroadcaster: EventEmitter; eventDataCollector: EventDataCollector; configuration: IRunOptionsFormats; supportCodeLibrary: SupportCodeLibrary; pluginManager: PluginManager; }): Promise<() => Promise<void>>;