-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Closed
Description
Bug Report or Feature Request (mark with an x
)
- [x] bug report -> please search issues before submitting
- [ ] feature request
Versions.
@angular/cli: local (v1.0.0, branch: master)
node: 7.9.0
os: darwin x64
Repro steps.
ng new myproj --skip-tests --skip-e2e
Desired functionality.
Using the --skip-tests
option, I expect not to find any test artifacts at all in the project. But when I create a new project, I still have the following :
tsconfig.spec.json
and karma.conf.js
files
In the .angular-cli.json
file still appears :
"testTsconfig": "tsconfig.spec.json",
"lint": [
{
"project": "src/tsconfig.spec.json"
},
],
In the package.json
file we still have :
"scripts": {
"test": "ng test",
},
"devDependencies": {
"@types/jasmine": "2.5.38",
"jasmine-core": "~2.5.2",
"jasmine-spec-reporter": "~3.2.0",
"karma": "~1.4.1",
"karma-chrome-launcher": "~2.0.0",
"karma-cli": "~1.0.1",
"karma-jasmine": "~1.1.0",
"karma-jasmine-html-reporter": "^0.2.2",
"karma-coverage-istanbul-reporter": "^0.2.0",
}
The readme still mentions :
Running unit tests
Run
ng test
to execute the unit tests via Karma.
Metadata
Metadata
Assignees
Labels
No labels