After upgrading my app from Angular4 to Angular 5 using the steps provided on https://update.angular.io/, I encountered an issue.
While I can successfully run ng-serve and ng build without any problems, the npm test command for ng test is failing with the following error:
\src\test.ts is missing from the TypeScript compilation. Please make sure it is in your tsconfig via the 'files' or 'include' property.
Despite trying various solutions found through Google searches, none of them have resolved the problem.
Following a suggestion on Stack Overflow at , I attempted adding configuration in angular-cli.json and tsconfig.json but that did not solve the issue.
If anyone could provide assistance with this matter, it would be greatly appreciated. Feel free to ask if more information is needed.