feat(@angular/cli): expose test include list#4868
Closed
filipesilva wants to merge 2 commits intoangular:masterfrom
Closed
feat(@angular/cli): expose test include list#4868filipesilva wants to merge 2 commits intoangular:masterfrom
filipesilva wants to merge 2 commits intoangular:masterfrom
Conversation
The `karma` entry in `.angular-cli.json` now supports an `include` property, listing the test specific files to be included in the TypeScript compilation:
```
"test": {
"karma": {
"config": "./karma.conf.js"
},
"include": [
"**/*.spec.ts",
"test.ts"
]
},
```
Existing projects will default to the list abose.
This list will also be used as an exclude list for AoT Compilations.
Fix angular#3973
712424c to
59225c7
Compare
59225c7 to
a0c6742
Compare
Contributor
Author
|
Superseded by #4924 |
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The
karmaentry in.angular-cli.jsonnow supports anincludeproperty, listing the test specific files to be included in the TypeScript compilation:Existing projects will default to the list abose.
This list will also be used as an exclude list for AoT Compilations.
Fix #3973