-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Closed
Labels
p2-nice-to-haveNot breaking anything but nice to have (priority)Not breaking anything but nice to have (priority)
Description
Clear and concise description of the problem
Calling toEqual on large objects generates a very large diff error difficult to understand and often cut by the max terminal output length, this can be prevented by passing expand: false to the diff function
Suggested solution
Pass expand: false for large objects and strings
Alternative
Add an expand option in the vitest configuration or always use expand false
Additional context
No response
Validations
- Follow our Code of Conduct
- Read the Contributing Guidelines.
- Read the docs.
- Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
remorses
Metadata
Metadata
Assignees
Labels
p2-nice-to-haveNot breaking anything but nice to have (priority)Not breaking anything but nice to have (priority)
Type
Projects
Status
Approved