sinonjs / sinon

Test spies, stubs and mocks for JavaScript.

Home Page:https://sinonjs.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Enable and Set Assertion Logging Limits

sgoossens opened this issue · comments

when sinon.assert fails for a stubbed method that had potentially a large amount of data on it, it logs the entirety of the stub each time which can cause runoff on the terminal see here making it very hard to debug. It would be nice to be able to toggle on a log threshold limit such that we can control the amount that is logged out when an assertion fails.

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.