W3cubDocs

/Vitest

expandSnapshotDiff

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

Show full diff when snapshot fails instead of a patch.

© 2021-Present VoidZero Inc. and Vitest contributors
Licensed under the MIT License.
https://vitest.dev/config/expandsnapshotdiff