1
0
Fork 0
mirror of https://github.com/actions/setup-python.git synced 2024-11-27 02:27:09 +00:00
setup-python/node_modules/ts-jest/dist/config/config-set.d.ts
Danny McCormick 39c08a0eaa Initial pass
2019-06-26 21:12:00 -04:00

36 lines
1.7 KiB
TypeScript

/// <reference types="jest" />
import { Logger } from 'bs-logger';
import { CompilerOptions, CustomTransformers, ParsedCommandLine } from 'typescript';
import { AstTransformerDesc, BabelConfig, BabelJestTransformer, TTypeScript, TsCompiler, TsJestConfig, TsJestGlobalOptions, TsJestHooksMap } from '../types';
export declare class ConfigSet {
readonly parentOptions?: TsJestGlobalOptions | undefined;
readonly projectPackageJson: Record<string, any>;
readonly projectDependencies: Record<string, string>;
readonly jest: jest.ProjectConfig;
readonly tsJest: TsJestConfig;
readonly typescript: ParsedCommandLine;
readonly tsconfig: any;
readonly versions: Record<string, string>;
private static loadConfig;
readonly babel: BabelConfig | undefined;
readonly compilerModule: TTypeScript;
readonly babelJestTransformer: BabelJestTransformer | undefined;
readonly tsCompiler: TsCompiler;
readonly astTransformers: AstTransformerDesc[];
readonly tsCustomTransformers: CustomTransformers;
readonly hooks: TsJestHooksMap;
readonly shouldReportDiagnostic: (filePath: string) => boolean;
readonly shouldStringifyContent: (filePath: string) => boolean;
readonly tsCacheDir: string | undefined;
readonly overriddenCompilerOptions: Partial<CompilerOptions>;
readonly rootDir: string;
readonly cwd: string;
readonly tsJestDigest: string;
readonly cacheKey: string;
readonly logger: Logger;
constructor(jestConfig: jest.ProjectConfig, parentOptions?: TsJestGlobalOptions | undefined, parentLogger?: Logger);
resolvePath(inputPath: string, { throwIfMissing, nodeResolve }?: {
throwIfMissing?: boolean;
nodeResolve?: boolean;
}): string;
}