UNPKG

@cucumber/cucumber

Version:

The official JavaScript implementation of Cucumber.

18 lines (17 loc) 791 B
import { EventEmitter } from 'node:events'; import { IdGenerator } from '@cucumber/messages'; import { IRunOptionsRuntime } from '../api'; import { ILogger } from '../environment'; import { SourcedPickle } from '../assemble'; import { SupportCodeLibrary } from '../support_code_library_builder/types'; import { IRunEnvironment } from '../environment'; import { Runtime } from './types'; export declare function makeRuntime({ environment, logger, eventBroadcaster, sourcedPickles, newId, supportCodeLibrary, options, }: { environment: IRunEnvironment; logger: ILogger; eventBroadcaster: EventEmitter; newId: IdGenerator.NewId; sourcedPickles: ReadonlyArray<SourcedPickle>; supportCodeLibrary: SupportCodeLibrary; options: IRunOptionsRuntime; }): Promise<Runtime>;