chai 4.3.7 → 4.3.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CONTRIBUTING.md +1 -7
- package/History.md +1 -1
- package/chai.js +3 -2
- package/lib/chai/utils/objDisplay.js +1 -0
- package/lib/chai/utils/test.js +1 -1
- package/lib/chai.js +1 -1
- package/package.json +1 -1
package/CONTRIBUTING.md
CHANGED
|
@@ -21,7 +21,6 @@ Following these guidelines helps to communicate that you respect the time of the
|
|
|
21
21
|
|
|
22
22
|
- Creating an Issue or Pull Request requires a [GitHub](http://github.com) account.
|
|
23
23
|
- Issue reports should be **clear**, **concise** and **reproducible**. Check to see if your issue has already been resolved in the [master]() branch or already reported in Chai's [GitHub Issue Tracker](https://github.com/chaijs/chai/issues).
|
|
24
|
-
- Pull Requests must adhere to strict [coding style guidelines](https://github.com/chaijs/chai/wiki/Chai-Coding-Style-Guide).
|
|
25
24
|
- In general, avoid submitting PRs for new Assertions without asking core contributors first. More than likely it would be better implemented as a plugin.
|
|
26
25
|
- Additional support is available via the [Google Group](http://groups.google.com/group/chaijs) or on irc.freenode.net#chaijs.
|
|
27
26
|
- **IMPORTANT**: By submitting a patch, you agree to allow the project owner to license your work under the same license as that used by the project.
|
|
@@ -91,7 +90,7 @@ Good pull requests - patches, improvements, new features - are a fantastic help.
|
|
|
91
90
|
|
|
92
91
|
**Please ask first** before embarking on any significant pull request (e.g. implementing features, refactoring code), otherwise you risk spending a lot of time working on something that the project's developers might not want to merge into the project.
|
|
93
92
|
|
|
94
|
-
Please adhere to the coding conventions used throughout a project (indentation, accurate comments, etc.) and any other requirements (such as test coverage).
|
|
93
|
+
Please adhere to the coding conventions used throughout a project (indentation, accurate comments, etc.) and any other requirements (such as test coverage).
|
|
95
94
|
|
|
96
95
|
Follow this process if you'd like your work considered for inclusion in the project:
|
|
97
96
|
|
|
@@ -185,11 +184,6 @@ For most of the documentation you are going to want to visit [ChaiJS.com](http:/
|
|
|
185
184
|
- [API Reference](http://chaijs.com/api/)
|
|
186
185
|
- [Plugins](http://chaijs.com/plugins/)
|
|
187
186
|
|
|
188
|
-
Alternatively, the [wiki](https://github.com/chaijs/chai/wiki) might be what you are looking for.
|
|
189
|
-
|
|
190
|
-
- [Chai Coding Style Guide](https://github.com/chaijs/chai/wiki/Chai-Coding-Style-Guide)
|
|
191
|
-
- [Third-party Resources](https://github.com/chaijs/chai/wiki/Third-Party-Resources)
|
|
192
|
-
|
|
193
187
|
Or finally, you may find a core-contributor or like-minded developer in any of our support channels.
|
|
194
188
|
|
|
195
189
|
- IRC: irc.freenode.org #chaijs
|
package/History.md
CHANGED
package/chai.js
CHANGED
|
@@ -14,7 +14,7 @@ var used = [];
|
|
|
14
14
|
* Chai version
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
exports.version = '4.3.
|
|
17
|
+
exports.version = '4.3.8';
|
|
18
18
|
|
|
19
19
|
/*!
|
|
20
20
|
* Assertion Error
|
|
@@ -8608,6 +8608,7 @@ var config = require('../config');
|
|
|
8608
8608
|
* messages or should be truncated.
|
|
8609
8609
|
*
|
|
8610
8610
|
* @param {Mixed} javascript object to inspect
|
|
8611
|
+
* @returns {string} stringified object
|
|
8611
8612
|
* @name objDisplay
|
|
8612
8613
|
* @namespace Utils
|
|
8613
8614
|
* @api public
|
|
@@ -9062,7 +9063,7 @@ var flag = require('./flag');
|
|
|
9062
9063
|
/**
|
|
9063
9064
|
* ### .test(object, expression)
|
|
9064
9065
|
*
|
|
9065
|
-
* Test
|
|
9066
|
+
* Test an object for expression.
|
|
9066
9067
|
*
|
|
9067
9068
|
* @param {Object} object (constructed Assertion)
|
|
9068
9069
|
* @param {Arguments} chai.Assertion.prototype.assert arguments
|
package/lib/chai/utils/test.js
CHANGED
|
@@ -13,7 +13,7 @@ var flag = require('./flag');
|
|
|
13
13
|
/**
|
|
14
14
|
* ### .test(object, expression)
|
|
15
15
|
*
|
|
16
|
-
* Test
|
|
16
|
+
* Test an object for expression.
|
|
17
17
|
*
|
|
18
18
|
* @param {Object} object (constructed Assertion)
|
|
19
19
|
* @param {Arguments} chai.Assertion.prototype.assert arguments
|
package/lib/chai.js
CHANGED