UNPKG

@cucumber/cucumber

Version:

The official JavaScript implementation of Cucumber.

13 lines (12 loc) 650 B
import { EventEmitter } from 'node:events'; import { IdGenerator } from '@cucumber/messages'; import { RuntimeAdapter } from '../types'; import { AssembledTestCase } from '../../assemble'; import { RuntimeOptions } from '../index'; import { SupportCodeLibrary } from '../../support_code_library_builder/types'; export declare class InProcessAdapter implements RuntimeAdapter { private readonly worker; private failing; constructor(eventBroadcaster: EventEmitter, newId: IdGenerator.NewId, options: RuntimeOptions, supportCodeLibrary: SupportCodeLibrary); run(assembledTestCases: ReadonlyArray<AssembledTestCase>): Promise<boolean>; }