We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a570609 commit 6cdcbbcCopy full SHA for 6cdcbbc
2 files changed
src/index.ts
@@ -23,6 +23,9 @@ function getCacheKey(...args: any[]): any {
23
return (defaultTransformer().getCacheKey as any)(...args)
24
}
25
26
+// we let jest doing the instrumentation, it does it well
27
+const canInstrument = false
28
+
29
const jestPreset = createJestPreset()
30
31
// for tests
@@ -37,6 +40,7 @@ export {
37
40
createTransformer,
38
41
tsProcess as process,
39
42
getCacheKey,
43
+ canInstrument,
44
// extra ==================
45
createJestPreset,
46
jestPreset,
src/ts-jest-transformer.ts
@@ -155,7 +155,4 @@ export class TsJestTransformer implements jest.Transformer {
155
filePath,
156
)
157
158
-
159
- // we let jest doing the instrumentation, it does it well
160
- // get canInstrument() {}
161
0 commit comments