We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b4f803 commit 7119459Copy full SHA for 7119459
lib/transformers/typescript.js
@@ -16,7 +16,7 @@ module.exports = {
16
const tsconfig = getTsJestConfig(config)
17
const babelOptions = getBabelOptions(filePath)
18
19
- const res = typescript.transpileModule(scriptContent, tsconfig)
+ const res = typescript.transpileModule(scriptContent, {...tsconfig, fileName: filePath})
20
21
res.outputText = stripInlineSourceMap(res.outputText)
22
0 commit comments