-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Description
Hi,
I am trying to exclude some spec files from the test, but can't.
so that,
I have created a fresh 'ng new myapp' and
I tried all the ways by the options provided.
- In karma.conf.js
I have added exclude option in karma.conf.js like following,
exclude:['app.component.spec*.*']
but this one, included the app.component.spec.ts and showed some test results.
- In tsconfig.spec.json
I have tried exclude option but its also ends in vain.
Now, I would like to exclude bunch of specs but I am unable to do in all the ways even in the fresh project.
Can anybody help in this regard?
I am using Windows OS machine, and with the following versions:
Angular CLI: 1.6.3
Node: 6.10.0
OS: win32 x64
Angular: 4.4.6
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router, tsc-wrapped
@angular/cli: 1.6.3
@angular-devkit/build-optimizer: 0.0.36
@angular-devkit/core: 0.0.22
@angular-devkit/schematics: 0.0.42
@ngtools/json-schema: 1.1.0
@ngtools/webpack: 1.9.3
@schematics/angular: 0.1.11
@schematics/schematics: 0.0.11
typescript: 2.3.4
webpack: 3.10.0
Can you please identify the root cause of the problem?