UNPKG

jest-preset-angular

Version:

Jest preset configuration for Angular projects

13 lines (12 loc) 624 B
import { type TsJestAstTransformer, TsCompiler, type ConfigSet } from 'ts-jest'; import ts from 'typescript'; export declare class NgJestCompiler extends TsCompiler { readonly configSet: ConfigSet; readonly jestCacheFS: Map<string, string>; constructor(configSet: ConfigSet, jestCacheFS: Map<string, string>); private _patchModuleResolution; private _computeNgModuleResolution; private _isAnguar21ExportOnly; protected _transpileOutput(fileContent: string, filePath: string): ts.TranspileOutput; protected _makeTransformers(customTransformers: TsJestAstTransformer): ts.CustomTransformers; }