我刚刚将我的Angular项目更新到了Angular 6。
使用命令运行测试时,ng build和ng serve正常工作:
ng test
我得到了输出:
Schema validation failed with the following errors:
Data path "" should have required property 'tsConfig'.
tsconfig.json:
{
"compilerOptions": {
"baseUrl": "",
"declaration": false,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"lib": [
"es2016",
"dom"
],
"mapRoot": "./",
"module": "es2015",
"moduleResolution": "node",
"outDir": "../dist/out-tsc",
"sourceMap": true,
"target": "es5",
"typeRoots": [
"../node_modules/@types"
]
}
}
我做错了什么?