I am running an azure pipeline to execute k6 tests, and to visualise the results, I tried using k6-to-junit npm package. I am running the script like as below:
Turned out the docs in the repo give an invalid code sample for how to use the parser programmatically. I played around with it a bit myself, and managed to produce a working snippet: