1
0
Fork 0
mirror of https://github.com/actions/setup-python.git synced 2024-11-24 01:19:08 +00:00
setup-python/node_modules/ts-jest/dist/ts-jest-transformer.d.ts

18 lines
825 B
TypeScript
Raw Normal View History

2019-06-27 01:12:00 +00:00
/// <reference types="jest" />
import { Logger } from 'bs-logger';
import { ConfigSet } from './config/config-set';
import { TsJestGlobalOptions } from './types';
export declare class TsJestTransformer implements jest.Transformer {
static readonly lastTransformerId: number;
readonly logger: Logger;
readonly id: number;
readonly options: TsJestGlobalOptions;
constructor(baseOptions?: TsJestGlobalOptions);
configsFor(jestConfig: jest.ProjectConfig | string): ConfigSet;
process(input: string, filePath: jest.Path, jestConfig: jest.ProjectConfig, transformOptions?: jest.TransformOptions): jest.TransformedSource | string;
getCacheKey(fileContent: string, filePath: string, jestConfigStr: string, transformOptions?: {
instrument?: boolean;
rootDir?: string;
}): string;
}