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(@angular/cli): expose test include list #4868

Closed
wants to merge 2 commits into from

Conversation

filipesilva
Copy link
Contributor

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 #3973

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
@filipesilva filipesilva requested a review from hansl February 21, 2017 11:17
@filipesilva filipesilva force-pushed the aot-plugin-excludes branch 3 times, most recently from 712424c to 59225c7 Compare February 21, 2017 14:10
@filipesilva
Copy link
Contributor Author

Superseded by #4924

@filipesilva filipesilva deleted the aot-plugin-excludes branch February 22, 2017 15:11
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 11, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Spec files in subdirs included in AOT compilation
2 participants