Skip to content

Commit 326b242

Browse files
committed
fix: don't show "diff" in "serialized error" section
1 parent 6aff017 commit 326b242

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/vitest/src/node/error.ts

+1
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ const skipErrorProperties = new Set([
111111
'stackStr',
112112
'type',
113113
'showDiff',
114+
'diff',
114115
'actual',
115116
'expected',
116117
'VITEST_TEST_NAME',

0 commit comments

Comments
 (0)