You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
β Test suite failed to run
Could not find source file: 'C:\path\to\project\src\test-file.spec.ts'.
at getValidSourceFile (node_modules/typescript/lib/typescript.js:135637:29)
at Object.getSemanticDiagnostics (node_modules/typescript/lib/typescript.js:135859:36)
at doTypeChecking (node_modules/ts-jest/dist/compiler/language-service.js:11:35)
at node_modules/ts-jest/dist/compiler/language-service.js:96:25
at Array.forEach (<anonymous>)
at compileFn (node_modules/ts-jest/dist/compiler/language-service.js:94:26)
at Object.compile (node_modules/ts-jest/dist/compiler/instance.js:90:25)
at TsJestTransformer.process (node_modules/ts-jest/dist/ts-jest-transformer.js:94:41)
at ScriptTransformer.transformSource (node_modules/@jest/transform/build/ScriptTransformer.js:479:35)
at ScriptTransformer._transformAndBuildScript (node_modules/@jest/transform/build/ScriptTransformer.js:569:40)
The only concrete reproduction step I was able to find and fix this is to downgrade ts-jest from 25.3.1 to 25.2.1, then tests are being discovered, are running and passing. (or to make error re-appear - update it back to latest)
System:
OS: Windows 10
Npm packages:
jest: 25.3.0
ts-jest: 25.3.1
typescript: 3.8.3
Please let me know if more info is needed.
The text was updated successfully, but these errors were encountered:
π Bug Report
Jest fails to find tests, ends with error:
Jest config:
To Reproduce
The only concrete reproduction step I was able to find and fix this is to downgrade ts-jest from 25.3.1 to 25.2.1, then tests are being discovered, are running and passing. (or to make error re-appear - update it back to latest)
System:
OS: Windows 10
Npm packages:
Please let me know if more info is needed.
The text was updated successfully, but these errors were encountered: