We have a pretty “vanilla” Angular 4.4.6 app that we are running the Angular unit tests with Karma using the following command:
./node_modules/.bin/ng test --single-run --no-progress --browser=ChromeHeadless --reporters=junit
In our package.json we have the DevDependency karma-junit-reporter. In a recent build in which we started running this suite we had a test failure (which was indeed a true test failure), but the failure did not show up at the top of the build as expected. We had to open up the test-results.xml test artifact to see what the failure was.
I’ve searched on this forum and the internet in general about this problem, but I can’t see that we’re doing anything differently than anyone else. Are my expectations that the test failures would be reported at the top of the build not correct?
Oh…and here’s a link to the build with the failure: