Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configurable shortening treshold in objDisplay #166

Closed
pwnall opened this issue May 24, 2013 · 1 comment
Closed

Configurable shortening treshold in objDisplay #166

pwnall opened this issue May 24, 2013 · 1 comment

Comments

@pwnall
Copy link
Contributor

pwnall commented May 24, 2013

Sometimes, I need more data than would fit into 40 characters to debug a test failure. It would be nice if this constant could be exported, so individual test suites can tune it.
https://github.com/chaijs/chai/blob/1.6.0/lib/chai/utils/objDisplay.js#L29

I didn't see any options object being exported, so I didn't jump right into working on a patch. I'm willing to do that, given a decision of what the API should look like.

Thank you very much!

romario333 added a commit to romario333/chai that referenced this issue Nov 25, 2013
romario333 added a commit to romario333/chai that referenced this issue Nov 25, 2013
romario333 added a commit to romario333/chai that referenced this issue Nov 28, 2013
romario333 added a commit to romario333/chai that referenced this issue Mar 16, 2014
romario333 added a commit to romario333/chai that referenced this issue Mar 18, 2014
logicalparadox added a commit that referenced this issue Mar 18, 2014
Fix issue #166 - configurable threshold in objDisplay.
@logicalparadox
Copy link
Member

Released in 1.9.1. View release notes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants