Skip to content
masterclass Buddy

Vitest · Type Alias

UserConfig

test.name assigns a visible label to a Vitest project or process. You can set a label alone or choose a label and display color together.

Last updated

Syntax

test: { name?: string | { label: string; color?: LabelColor } }

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • UserConfig
  • project.name
  • projects
  • LabelColor

Source: name | Config | Vitest. Checked 2026-11-03.