Open AugustasV opened 1 month ago
@AugustasV
I checked the same case locally, and it seems that Vitest completely overrides the reporters
array in case at least one reporter
is provided via CLI args.
Currently the only way to provide this agent is to create an instance of it in the vitest configuration, it cannot be set as a string parameter via the CLI. So to get it to work, you only need to set reporters
through the config file.
I will post a ticket to our backlog to solve the case with specifying the agent via CLI argument.
Than I run
vitest run --coverage --reporter=verbose --reporter=junit --outputFile.junit=junit.xml
than I couldn't see anything in reportportal. If I just runvitest run
its all good. default config, just with coverage