@@ -30,74 +30,28 @@ export type PostProcessHook = (
3030 transformOptions : TransformOptions ,
3131) => CodeSourceMapPair ;
3232
33- export type JestConfig = Partial < FullJestProjectConfig > ;
34-
35- export interface FullJestProjectConfig {
36- automock : boolean ;
37- browser : boolean ;
38- cache : boolean ;
39- cacheDirectory : Path ;
40- clearMocks : boolean ;
41- coveragePathIgnorePatterns : string [ ] ;
42- cwd : Path ;
43- detectLeaks : boolean ;
44- detectOpenHandles : boolean ;
45- displayName : string | null ;
46- errorOnDeprecated : boolean ;
47- filter : Path | null ;
48- forceCoverageMatch : Glob [ ] ;
49- globals : ConfigGlobals ;
50- haste : HasteConfig ;
51- moduleDirectories : string [ ] ;
52- moduleFileExtensions : string [ ] ;
53- moduleLoader : Path ;
54- moduleNameMapper : Array < [ string , string ] > ;
55- modulePathIgnorePatterns : string [ ] ;
56- modulePaths : string [ ] ;
57- name : string ;
58- resetMocks : boolean ;
59- resetModules : boolean ;
60- resolver : Path | null ;
61- restoreMocks : boolean ;
62- rootDir : Path ;
63- roots : Path [ ] ;
64- runner : string ;
65- setupFiles : Path [ ] ;
66- setupTestFrameworkScriptFile : Path | null ;
67- skipFilter : boolean ;
68- skipNodeResolution : boolean ;
69- snapshotSerializers : Path [ ] ;
70- testEnvironment : string ;
71- testEnvironmentOptions : object ;
72- testLocationInResults : boolean ;
73- testMatch : Glob [ ] ;
74- testPathIgnorePatterns : string [ ] ;
75- testRegex : string ;
76- testRunner : string ;
77- testURL : string ;
78- timers : 'real' | 'fake' ;
79- transform : Array < [ string , Path ] > ;
80- transformIgnorePatterns : Glob [ ] ;
81- watchPathIgnorePatterns : string [ ] ;
82- unmockedModulePathPatterns : string [ ] | null ;
83- }
33+ export type JestConfig = jest . InitialOptions & {
34+ globals ?: jest . ConfigGlobals & {
35+ __TRANSFORM_HTML__ ?: boolean ;
36+ } ;
37+ } ;
8438
8539export interface TsJestConfig {
86- skipBabel ?: boolean ;
87- useBabelrc ?: boolean ;
8840 babelConfig ?: BabelTransformOpts ;
89- tsConfigFile ?: string ;
41+ disableSourceMapSupport ?: boolean ;
9042 enableInternalCache ?: boolean ;
9143 enableTsDiagnostics ?: boolean ;
92- disableSourceMapSupport ?: boolean ;
93- ignoreCoverageForDecorators ?: boolean ;
9444 ignoreCoverageForAllDecorators ?: boolean ;
45+ ignoreCoverageForDecorators ?: boolean ;
46+ skipBabel ?: boolean ;
47+ tsConfigFile ?: string ;
48+ useBabelrc ?: boolean ;
9549 useExperimentalLanguageServer ?: boolean ;
9650}
9751
9852export interface JestConfigNormalize {
9953 hasDeprecationWarnings : boolean ;
100- options : FullJestProjectConfig ;
54+ options : jest . DefaultOptions ;
10155}
10256
10357export interface CodeSourceMapPair {
0 commit comments