Back to Vitest

attachmentsDir | Config

docs/config/attachmentsdir.md

5.0.0381 B
Original Source

attachmentsDir <CRoot />

  • 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.