UNPKG

@cucumber/cucumber

Version:

The official JavaScript implementation of Cucumber.

21 lines (20 loc) 710 B
import * as messages from '@cucumber/messages'; import { ITestCaseHookParameter } from '../support_code_library_builder/types'; import { IDefinition } from '../models/definition'; export interface IRunOptions { defaultTimeout: number; filterStackTraces: boolean; hookParameter: ITestCaseHookParameter; step: messages.PickleStep; stepDefinition: IDefinition; world: any; } export interface RunStepResult { result: messages.TestStepResult; error?: any; } export declare function run({ defaultTimeout, filterStackTraces, hookParameter, step, stepDefinition, world, }: IRunOptions): Promise<RunStepResult>; declare const _default: { run: typeof run; }; export default _default;