mirror of
https://github.com/vitest-dev/vitest.git
synced 2025-12-08 18:26:03 +00:00
427 B
427 B
| title | outline |
|---|---|
| outputFile | Config | deep |
outputFile
- Type:
string | Record<string, string> - CLI:
--outputFile=<path>,--outputFile.json=./path
Write test results to a file when the --reporter=json, --reporter=html or --reporter=junit option is also specified.
By providing an object instead of a string you can define individual outputs when using multiple reporters.