mirror of
https://github.com/JamesIves/github-pages-deploy-action.git
synced 2023-12-15 20:03:39 +08:00
17 lines
823 B
TypeScript
17 lines
823 B
TypeScript
|
import { TransformOptions, TransformedSource, Transformer } from '@jest/transform/build/types';
|
||
|
import { Config } from '@jest/types';
|
||
|
import { ConfigSet } from './config/config-set';
|
||
|
import { TsJestGlobalOptions } from './types';
|
||
|
export declare class TsJestTransformer implements Transformer {
|
||
|
private readonly logger;
|
||
|
private readonly id;
|
||
|
private readonly options;
|
||
|
constructor(baseOptions?: TsJestGlobalOptions);
|
||
|
configsFor(jestConfig: Config.ProjectConfig | string): ConfigSet;
|
||
|
process(input: string, filePath: Config.Path, jestConfig: Config.ProjectConfig, transformOptions?: TransformOptions): TransformedSource | string;
|
||
|
getCacheKey(fileContent: string, filePath: string, jestConfigStr: string, transformOptions?: {
|
||
|
instrument?: boolean;
|
||
|
rootDir?: string;
|
||
|
}): string;
|
||
|
}
|