Command:
ng test
Error Information:
Schema validation failed with the following errors:
Data path "" should have required property 'tsConfig'.
Solution:
find the file: angular.json
find the node: projects-->{{yourProjectName}}-->architect-->test-->options
add a new option info: "tsConfig":"src/tsConfig.json"
Screen shot: