1 | import { TestRunner, DryRunOptions, MutantRunOptions, MutantRunResult, DryRunResult, TestRunnerCapabilities } from '@stryker-mutator/api/test-runner';
|
2 |
|
3 | import { ResourceDecorator } from '../concurrent/index.js';
|
4 |
|
5 | export class TestRunnerDecorator extends ResourceDecorator<TestRunner> {
|
6 | public async capabilities(): Promise<TestRunnerCapabilities> {
|
7 | return this.innerResource.capabilities();
|
8 | }
|
9 | public dryRun(options: DryRunOptions): Promise<DryRunResult> {
|
10 | return this.innerResource.dryRun(options);
|
11 | }
|
12 | public mutantRun(options: MutantRunOptions): Promise<MutantRunResult> {
|
13 | return this.innerResource.mutantRun(options);
|
14 | }
|
15 | }
|