angular 7 + angular cli 7.1.0
upgraded project from angular 5 to 7
and when run
ng test
and tsConfig
added in angular.json
file
` "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",`
I get the output
Schema validation failed with the following errors:
Data path "" should have required property 'tsConfig'.
What am I doing wrong? Thanks in advance.
Your path of the tsConfig is wrong. Change it to