github-pages-deploy-action/node_modules/ts-jest/dist/config/config-set.d.ts

36 lines
1.6 KiB
TypeScript
Raw Normal View History

2020-03-02 21:16:42 +08:00
import { Config } from '@jest/types';
2020-01-28 13:08:03 +08:00
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;
get projectPackageJson(): Record<string, any>;
get projectDependencies(): Record<string, string>;
2020-03-02 21:16:42 +08:00
get jest(): Config.ProjectConfig;
2020-01-28 13:08:03 +08:00
get tsJest(): TsJestConfig;
get typescript(): ParsedCommandLine;
get tsconfig(): any;
get versions(): Record<string, string>;
get babel(): BabelConfig | undefined;
get compilerModule(): TTypeScript;
get babelJestTransformer(): BabelJestTransformer | undefined;
get tsCompiler(): TsCompiler;
get astTransformers(): AstTransformerDesc[];
get tsCustomTransformers(): CustomTransformers;
get hooks(): TsJestHooksMap;
get shouldReportDiagnostic(): (filePath: string) => boolean;
get shouldStringifyContent(): (filePath: string) => boolean;
get tsCacheDir(): string | undefined;
get overriddenCompilerOptions(): Partial<CompilerOptions>;
get rootDir(): string;
get cwd(): string;
get tsJestDigest(): string;
get cacheKey(): string;
readonly logger: Logger;
2020-03-02 21:16:42 +08:00
constructor(jestConfig: Config.ProjectConfig, parentOptions?: TsJestGlobalOptions | undefined, parentLogger?: Logger);
2020-01-28 13:08:03 +08:00
resolvePath(inputPath: string, { throwIfMissing, nodeResolve }?: {
throwIfMissing?: boolean;
nodeResolve?: boolean;
}): string;
}