mirror of
https://github.com/chaijs/chai
synced 2024-11-15 08:17:14 +00:00
docs: [config] make public, express param type
This commit is contained in:
parent
b638a360d7
commit
a0661120d9
1 changed files with 10 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
|||
module.exports = {
|
||||
|
||||
/*!
|
||||
/**
|
||||
* ### config.includeStack
|
||||
*
|
||||
* User configurable property, influences whether stack trace
|
||||
|
@ -9,11 +9,13 @@ module.exports = {
|
|||
*
|
||||
* chai.config.includeStack = true; // enable stack on error
|
||||
*
|
||||
* @param {Boolean}
|
||||
* @api public
|
||||
*/
|
||||
|
||||
includeStack: false,
|
||||
|
||||
/*!
|
||||
/**
|
||||
* ### config.showDiff
|
||||
*
|
||||
* User configurable property, influences whether or not
|
||||
|
@ -22,11 +24,13 @@ module.exports = {
|
|||
* will be true when the assertion has requested a diff
|
||||
* be shown.
|
||||
*
|
||||
* @param {Boolean}
|
||||
* @api public
|
||||
*/
|
||||
|
||||
showDiff: true,
|
||||
|
||||
/*!
|
||||
/**
|
||||
* ### config.truncateThreshold
|
||||
*
|
||||
* User configurable property, sets length threshold for actual and
|
||||
|
@ -37,8 +41,10 @@ module.exports = {
|
|||
*
|
||||
* chai.config.truncateThreshold = 0; // disable truncating
|
||||
*
|
||||
* @param {Number}
|
||||
* @api public
|
||||
*/
|
||||
|
||||
truncateThreshold: 40
|
||||
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue