---
title: attachmentsDir | Config
outline: deep
---

# attachmentsDir

- **Type:** `string`
- **Default:** `'.vitest-attachments'`

Directory path for storing attachments created by [`context.annotate`](/guide/test-context#annotate) relative to the project root.
