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 c5e9fcc commit bc566e0Copy full SHA for bc566e0
src/runTsc.js
@@ -50,7 +50,8 @@ const runTsc = ({ testPath, config: jestConfig }) => {
50
51
const allDiagnostics = ts
52
.getPreEmitDiagnostics(program)
53
- .concat(emitResult.diagnostics);
+ .concat(emitResult.diagnostics)
54
+ .filter(diagnostic => diagnostic.file.fileName === testPath);
55
56
const errors = allDiagnostics
57
.map(diagnostic => {
0 commit comments