Open
Description
Command
test
Description
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.