-
Notifications
You must be signed in to change notification settings - Fork 459
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
TypeError with create-react-app, react-app-rewire-ts-jest and ts-jest 23.1.3 #682
Comments
Hi @abenhamdine, thanks for reporting. |
I will try, but I lack time to do it these days. |
Well, at least provide the package dependencies with versions, as well as babelrc (if used), jest config and tsconfig. Also to note even tho you might know it: try to get on latest jest, ts-jest and typescript. Remove node_modules and re-run |
I edited my first post to add packages versions and details about environment. |
Thanks, with what you write down I can already (quickly) tell you:
UPDATE: the path error is FOR SURE about old jest version, so I am closing this right now. If you think I am wrong somewhere, feel free to re-open of course. |
Ok, thx for your time and the useful feedbacks ! |
Issue :
With last version 23.1.3, I run into the following error on every test:
If I reinstall version 23.0.1, errors go away and the tests are passing normally.
I tried to install jest-cli last version 23.5.0 but I ran into another issue :
which is probably the same error described in jestjs/jest#6269
since I also use create-react-app
Environment
I use creat-react-app without ejecting (thanks to react-app-rewired).
Packages versions:
No jest or babel configuration except those included in react-scripts (create-react-app)
tsconfig :
Expected behavior :
No errors.
Output from debug log :
# content of debug.txt :
Minimal repo :
to come soon
The text was updated successfully, but these errors were encountered: