UNPKG

@stryker-mutator/core

Version:

The extendable JavaScript mutation testing framework

15 lines 693 B
import { DryRunResult, DryRunOptions, MutantRunOptions, MutantRunResult, TestRunner } from '@stryker-mutator/api/test-runner'; import { TestRunnerDecorator } from './test-runner-decorator.js'; import { Logger } from '@stryker-mutator/api/logging'; /** * Wraps a test runner and implements the timeout functionality. */ export declare class TimeoutDecorator extends TestRunnerDecorator { private readonly log; constructor(log: Logger, producer: () => TestRunner); dryRun(options: DryRunOptions): Promise<DryRunResult>; mutantRun(options: MutantRunOptions): Promise<MutantRunResult>; private run; private handleTimeout; } //# sourceMappingURL=timeout-decorator.d.ts.map