角度 7 + 角度 cli 7.1.0
将项目从 Angular 5 升级到 7 并在运行时
ng test
并tsConfig
添加到angular.json
文件中
` "test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "test.js",
"karmaConfig": "./karma.conf.js",
"polyfills": "apps/app/src/polyfills.ts",
"tsConfig": "tsconfig.spec.json",`
我得到输出
Schema validation failed with the following errors:
Data path "" should have required property 'tsConfig'.
我究竟做错了什么?提前致谢。