[READ-ONLY] Mirror of https://github.com/vitest-dev/vitest. Next generation testing framework powered by Vite. vitest.dev
test testing-tools vite
vitest docs config attachmentsdir.md
436 B


title: attachmentsDir | Config outline: deep #

attachmentsDir #

  • Type: string
  • Default: '.vitest/attachments'

Directory path for storing file attachments created by context.annotate.

This option is resolved relative to the root Vitest config. When using projects, all projects share the same attachmentsDir; it cannot be configured per project.