-
Notifications
You must be signed in to change notification settings - Fork 455
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ts-jest fails to work with TS 3.7.2 #1288
Comments
Hey @MichalLytek :) I'm hitting a similar-seeming issue. In my project I do not have this error in VSCode, just from ts-jest. But It might not be related as I downgraded to 3.6 and still have this error. My case doesn't seem to be tied to 3.7. |
I think we can close the issue now - |
Thanks, this is strange. Perhaps that is the error of ts < 3.7.3 ? |
@MichalLytek Can you try removing your lock file and run yarn install again. Jest released a minor upgrade from 24.8.0 to 24.9.0 which breaks ts-jest for me. What about you? |
@ChrisLahaye
|
Hi, I have always the problem: Here, my tsconfig:
jest.config:
Package.json:
|
please do these following steps:
|
Issue :
When I've updated my deps, the tests stopped working. I have a custom monorepo setup with TS references, Jest projects and
ttypescript
compiler to rewrite@paths
on compile.When I've downgraded the TS deps to 3.6.3, it works as earlier:
I've created two branches that you can checkout and reproduce:
https://github.com/MichalLytek/type-graphql/tree/ts-jest-3.7.2
https://github.com/MichalLytek/type-graphql/tree/ts-jest-3.6.3
Expected behavior :
It should work as before upgrade.
Minimal repo :
https://github.com/MichalLytek/type-graphql/tree/ts-jest-3.7.2
https://github.com/MichalLytek/type-graphql/tree/ts-jest-3.6.3
git clone npm i (on root folder) npm run bootstrap cd packages/core npx jest --watch
The text was updated successfully, but these errors were encountered: