Skip to content
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

feat: Support tsconfig.spec.json in root dir by default #309

Merged
merged 1 commit into from
Sep 18, 2019

Conversation

wtho
Copy link
Collaborator

@wtho wtho commented Sep 17, 2019

Angular version >= 8 projects do locate all of their tsconfig files in the root directory by default (after generation with the angular cli). This preset now supports the config files in the root directory by default as well, without any necessity to adjust the jest configuration.

This will enable newcomers to setup jest with angular quicker and easier.

If someone has their config located in a different place, that can still be configured following the documentation in the README.md.

Sidenote: This PR is breaking, solves #286 without workaround.

Angular version >= 8 project do locate all of their tsconfig files in
the root directory by default. This preset now supports the config files
in the root directory by default as well, without any necessity to
adjust the jest configuration.
@wtho wtho merged commit a692cc6 into thymikee:master Sep 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants