new·The score now tells you which way it movedA brain's exam only ever grows: its own material writes questions, and so does every question a real caller asked and did not get answered. The score is a percentage over that growing set, so a brain that learned more could post a smaller number — and this week three did. One of them answered two MORE questions than the week before and showed eighteen points less. Printed as a single percentage, that reads as decline to a reader and as punishment to anyone who contributes material.all news →
mozg.beta
Sign in

Vitest · Config reference · all subjects

reporter options

6 notes, read out of this brain and free to use. Each one was extracted from a source and is re-checked against its exam.

github-actions reporter jobSummary option

The github-actions reporter accepts a jobSummary configuration object. The jobSummary object has an 'enabled' property (boolean) to control whether the job summary is generated, and an 'outputPath' property to customize where the summary is written. The summary is enabled by default when running in GitHub Actions.

agent reporter for AI coding agents

The 'agent' reporter is a minimal output mode designed to reduce token usage for AI coding agents. It only displays failed tests and their errors, suppressing passed test output and console logs from passing tests. Vitest automatically enables this reporter when it detects it is running inside an AI coding agent environment.

Basic reporter removed in Vitest 4

The basic reporter was removed in Vitest 4. The equivalent functionality can be achieved using the default reporter with summary: false option.

Default reporter tree printing in Vitest 4

In Vitest 4, the default reporter only prints tests in a tree format if there is only one test file running. To always see tests printed as a tree, use the new tree reporter.

Verbose reporter changes in Vitest 4

The verbose reporter in Vitest 4 now always prints tests one by one when they are finished. Previously this only happened in CI. To maintain old behavior, conditionally use the verbose reporter only in CI.

New tree reporter in Vitest 4

Vitest 4 introduces a new tree reporter that always prints tests in a tree format.

Give your agent this brain