chaijs/chai — pull request #204 by Bartvds (2013-10-30 20:46:18+00:00)
Title: util: implemented limit on objDisplay() string output length

Proposal as solution for https://github.com/chaijs/chai/issues/203, I added the length for usability.

This sort-of assumes you use a reporter that shows a diff (but you'll need that for long strings anyway I guess).

The cut-off limit could be larger then 40 for pure strings? 80? Meh?

Closes #203