Files
vitest/docs/config/attachmentsdir.md
2026-05-13 09:08:33 +02:00

436 B

title, outline
title outline
attachmentsDir | Config 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.