Fix issue #166 - configurable threshold in objDisplay. #251

Merged
merged 2 commits into from Mar 18, 2014

Projects

None yet

2 participants

@romario333
Contributor

This PR replaces PR #214.

Implementation notes:

  • I have moved includeStack and showDiff properties to config.js. Original properties on Assertion are still there - they log deprecation warning and delegate to new properties at config.js.
  • config.js is accessible either via var config = require('config') or chai.config
  • Documentation should be changed (I don't know how):
@logicalparadox logicalparadox merged commit b638a36 into chaijs:master Mar 18, 2014

1 check passed

default The Travis CI build passed
Details
@logicalparadox
Member

Perfect, thanks! I will take care of the documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment