File tree Expand file tree Collapse file tree 2 files changed +1
-9
lines changed
Filter options
Expand file tree Collapse file tree 2 files changed +1
-9
lines changed
Original file line number Diff line number Diff line change 1
1
const crypto = require ( 'crypto' )
2
2
const babelJest = require ( 'babel-jest' )
3
- const tsJest = require ( 'ts-jest' )
4
3
5
4
module . exports = {
6
5
process : require ( './process' ) ,
@@ -20,13 +19,6 @@ module.exports = {
20
19
} ) ,
21
20
'hex'
22
21
)
23
- . update (
24
- tsJest . getCacheKey ( fileData , filename , configString , {
25
- instrument,
26
- rootDir
27
- } ) ,
28
- 'hex'
29
- )
30
22
. digest ( 'hex' )
31
23
}
32
24
}
Original file line number Diff line number Diff line change 1
1
const loadPartialConfig = require ( '@babel/core' ) . loadPartialConfig
2
- const createTransformer = require ( 'ts-jest' ) . createTransformer
3
2
const chalk = require ( 'chalk' )
4
3
const path = require ( 'path' )
5
4
const fs = require ( 'fs' )
@@ -64,6 +63,7 @@ const getBabelOptions = function loadBabelOptions(filename, options = {}) {
64
63
}
65
64
66
65
const getTsJestConfig = function getTsJestConfig ( config ) {
66
+ const createTransformer = require ( 'ts-jest' ) . createTransformer
67
67
const tr = createTransformer ( )
68
68
const { typescript } = tr . configsFor ( config )
69
69
return { compilerOptions : typescript . options }
You can’t perform that action at this time.
0 commit comments