Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/vitest-dev/vitest. Next generation testing framework powered by Vite. vitest.dev
test testing-tools vite
Something went wrong. Try again.
Markdown
title: outputFile | Config outline: deep #
outputFile {#outputfile} #
- Type:
string | Record<string, string> - CLI:
--outputFile=<path>,--outputFile.json=./path
Write test results to a file when the --reporter=json or --reporter=junit option is also specified.
By providing an object instead of a string you can define individual outputs when using multiple reporters.