1 | import { StrykerOptions } from '@stryker-mutator/api/core';
|
2 | import { requireResolve } from '@stryker-mutator/util';
|
3 | import type * as jestModule from 'jest';
|
4 | export declare function determineResolveFromDirectory(options: StrykerOptions, resolve: (moduleId: string) => string): string;
|
5 | export declare namespace determineResolveFromDirectory {
|
6 | var inject: readonly ["options", "resolve"];
|
7 | }
|
8 | type RunCli = typeof jestModule.runCLI;
|
9 | type GetVersion = typeof jestModule.getVersion;
|
10 |
|
11 |
|
12 |
|
13 | export declare class JestWrapper {
|
14 | private readonly jest;
|
15 | static readonly inject: readonly ["resolveFromDirectory", "requireFromCwd"];
|
16 | constructor(resolveFromDirectory: string, requireFrom: typeof requireResolve);
|
17 | runCLI(...args: Parameters<typeof jestModule.runCLI>): ReturnType<RunCli>;
|
18 | getVersion(...args: Parameters<GetVersion>): ReturnType<GetVersion>;
|
19 | }
|
20 | export {};
|
21 |
|
\ | No newline at end of file |