You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After upgrading to Angular 20 the old karma junit reporter library stopped working for us. Happily, the vitest runner directly supports junit. However, it doesn't seem like there is a way to pass an option for the output location of that test output and the docs make it seem like there isn't currently a way to configure vitest directly.
Describe the solution you'd like
I'd love a way to direct the junit reporter's output to a file so our CI tools can more easily consume it. Right now I'm using awk to find the start of the junit xml and pipe that to a file.
Describe alternatives you've considered
Using awk to separate the build output from the junit output when running ng test.
If there was a way to create a configuration file for vitest to access the options like there was for Karma that would be fine too.
Reacted by Nate Radebaugh, rinckemd, Mario Ivankovits, ygopensource and jase
Activity
joergbaier commentedon Jun 3, 2025
related issue to allow for vitest configuration #30429
angular-automatic-lock-bot commentedon Oct 17, 2025
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.