-
Notifications
You must be signed in to change notification settings - Fork 309
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
upgrade ts-jest version #219
Conversation
This issue was already fixed in master branch. If you check release 7.0.0-alpha.2 the coverage works. Simply updating to latest ts-jest actually doesn't solve the issue. Because now we switch to AST transformer that's why the coverage works. thank you for your chore PR :) |
That's still covered by semver range, but oh well 🤷♂️ @ahnpnl I'm thinking about publishing stable somewhere soon, but I'd like to wait for Jest 24 to happen (the release is really close), so we don't end up with 2 breaking changes in one month or so. |
it's nice to hear that v24 is coming. I agree let's wait for Jest 24 👍 |
It has TS support built in (jestjs/jest#7533), backed by Babel. Do you think it makes sense to move away from |
My personal opinion about this is I prefer I wonder if somehow we can create a switch for the users either to use |
I am not aware about all the differences between
If users would quite often require full TS features, e. g. a custom I would also be interested in the arguments of why to move away from I do not want to challenge any opinion, I just want to learn more about the drawbacks here. |
https://babeljs.io/docs/en/babel-plugin-transform-typescript#caveats It's just a thought, in this preset we abstract most of the config for I can imagine Babel being faster than TS in larger projects, but then again it's only on the first run. |
My personal experience with Having a working preset with the ability to adjust any setting in seconds is just awesome. I would be totally open to move away from |
* origin/master: Upgraded ts-jest version. (#219) docs: add astTransformers in configuration example (#218) feat: Import jest-zone-patch (#214) chore: Migrate CI config to CircleCI v2 (#212) Transform templateUrl, styleUrls and styles everywhere (#211) feat: adjust semver range of jest-zone-patch (#209) Adjust CHANGELOG (#208)
This resolves an issue where constructor parameters are considered code branches and are not covered by code coverage. istanbuljs/istanbuljs#70