Skip to content

Commit

Permalink
docs(reporters): junit env variables removed in v2 (#6841)
Browse files Browse the repository at this point in the history
  • Loading branch information
AriPerkkio authored Nov 2, 2024
1 parent 1a8d670 commit 5d4b382
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guide/reporters.md
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ AssertionError: expected 5 to be 4 // Object.is equality
</testsuites>
```

The outputted XML contains nested `testsuites` and `testcase` tags. You can use the environment variables `VITEST_JUNIT_SUITE_NAME` and `VITEST_JUNIT_CLASSNAME` to configure their `name` and `classname` attributes, respectively. These can also be customized via reporter options:
The outputted XML contains nested `testsuites` and `testcase` tags. You can use the reporter options to configure these attributes:

```ts
export default defineConfig({
Expand Down

0 comments on commit 5d4b382

Please sign in to comment.