-
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
Alternate setup with @babel/preset-typescript
without ts-jest
#308
Labels
🚀 Feature Request
new suggested feature
Comments
6 tasks
wtho
added a commit
to wtho/jest-preset-angular
that referenced
this issue
Oct 25, 2019
BREAKING CHANGE: add an alternative preset for babel and restructures the whole repository to treat babel and ts-jest equally. The jest config of users will have to be adjusted, see the CHANGELOG.md for migration information. Closes thymikee#308
wtho
added a commit
to wtho/jest-preset-angular
that referenced
this issue
Oct 25, 2019
BREAKING CHANGE: add an alternative preset for babel and restructures the whole repository to treat babel and ts-jest equally. The jest config of users will have to be adjusted, see the CHANGELOG.md for migration information. Closes thymikee#308
wtho
added a commit
to wtho/jest-preset-angular
that referenced
this issue
Oct 25, 2019
BREAKING CHANGE: add an alternative preset for babel and restructures the whole repository to treat babel and ts-jest equally. The jest config of users will have to be adjusted, see the CHANGELOG.md for migration information. Closes thymikee#308
wtho
added a commit
to wtho/jest-preset-angular
that referenced
this issue
Oct 27, 2019
BREAKING CHANGE: add an alternative preset for babel and restructures the whole repository to treat babel and ts-jest equally. Furthermore `ts-jest` is not a dependency of the preset anymore. The jest config and package.json of users will have to be adjusted, see the CHANGELOG.md for migration information. Closes thymikee#308
wtho
added a commit
to wtho/jest-preset-angular
that referenced
this issue
Dec 2, 2019
BREAKING CHANGE: add an alternative preset for babel and restructures the whole repository to treat babel and ts-jest equally. Furthermore `ts-jest` is not a dependency of the preset anymore. The jest config and package.json of users will have to be adjusted, see the CHANGELOG.md for migration information. Closes thymikee#308
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Babel put quite some resources into transpiling TypeScript to JS as well, and with the first-class support of babel in jest we would like to give the user the choice of using
ts-jest
or babel for transpiling their angular projects for jest.Setting a babel option up and providing this to users will make this preset less opiniated and more objective, plus will also give us a clear picture which mode is faster and what problems arise with what transpilers respectively.
There are known caveats though, as babel does not type check the tests itself (similar to
ts-jest
'sisolatedModules: true
).The text was updated successfully, but these errors were encountered: