# Source: https://vitest.dev/config/expandsnapshotdiff.md

---
url: /config/expandsnapshotdiff.md
---

# expandSnapshotDiff

* **Type:** `boolean`
* **CLI:** `--expandSnapshotDiff`, `--expand-snapshot-diff`
* **Default:** `false`

Show full diff when snapshot fails instead of a patch.