Files
url_tracker_tool/node_modules/ts-jest/dist/legacy/ts-jest-transformer.d.ts
Andrei 58f8093689 Rebrand from 'Redirect Intelligence v2' to 'URL Tracker Tool V2' throughout UI
- Updated all component headers and documentation
- Changed navbar and footer branding
- Updated homepage hero badge
- Modified page title in index.html
- Simplified footer text to 'Built with ❤️'
- Consistent V2 capitalization across all references
2025-08-19 19:12:23 +00:00

29 lines
1.5 KiB
TypeScript

import type { SyncTransformer, TransformedSource } from '@jest/transform';
import type { CompilerInstance, TsJestTransformerOptions, TsJestTransformOptions } from '../types';
import { ConfigSet } from './config/config-set';
export declare class TsJestTransformer implements SyncTransformer<TsJestTransformerOptions> {
private readonly transformerOptions?;
private readonly _logger;
protected _compiler: CompilerInstance;
private _transformCfgStr;
private _depGraphs;
private _watchMode;
constructor(transformerOptions?: TsJestTransformerOptions | undefined);
private _configsFor;
protected _createConfigSet(config: TsJestTransformOptions['config'] | undefined): ConfigSet;
protected _createCompiler(configSet: ConfigSet, cacheFS: Map<string, string>): void;
process(sourceText: string, sourcePath: string, transformOptions: TsJestTransformOptions): TransformedSource;
processAsync(sourceText: string, sourcePath: string, transformOptions: TsJestTransformOptions): Promise<TransformedSource>;
private processWithTs;
private runTsJestHook;
/**
* Jest uses this to cache the compiled version of a file
*
* @see https://github.com/facebook/jest/blob/v23.5.0/packages/jest-runtime/src/script_transformer.js#L61-L90
*
* @public
*/
getCacheKey(fileContent: string, filePath: string, transformOptions: TsJestTransformOptions): string;
getCacheKeyAsync(sourceText: string, sourcePath: string, transformOptions: TsJestTransformOptions): Promise<string>;
}