-
Notifications
You must be signed in to change notification settings - Fork 460
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
[email protected] fails to transform code #156
Comments
See kulshekhar/ts-jest#156 This reverts commit 8f5fb4a.
@pelotom do you really need |
It passes if you remove |
Ah, so I am targeting es6 in order to avoid this issue with spurious missing coverage on Do you know of another way to work around that? Also why is this suddenly an issue when it wasn't before? |
|
If you target es6 during testing, that code is then passed to Jest which expects the transformed code in es5 format. Actually, I'm not sure how this was working for you before 19.0.7! |
Testing and coverage are all done as part of the same |
ok, I've got this |
@pelotom the fix has been published. Can you see if the latest version works for you? |
Looks good, thanks! |
I updated my library's
ts-jest
version from19.0.6
to19.0.7
and now typescript tests are apparently not getting transformed properly:https://travis-ci.org/pelotom/runtypes/builds/218997722
The text was updated successfully, but these errors were encountered: