Releasing 1.3
- Allow users to set the pretty-printer's recursion depth - When pretty-printing objects, don't include inherited properties. - Change toBeCloseTo matcher to be more consistent - Added toBeNaN matcher - Add checkbox to test runner which toggles catching of exceptions duri - Add config option which stops jasmine from capturing exceptions in a
This commit is contained in:
@@ -303,7 +303,7 @@ jasmine.Matchers.prototype.toBeGreaterThan = function(expected) {
|
||||
* up to a given level of decimal precision (default 2).
|
||||
*
|
||||
* @param {Number} expected
|
||||
* @param {Number} precision
|
||||
* @param {Number} precision, as number of decimal places
|
||||
*/
|
||||
jasmine.Matchers.prototype.toBeCloseTo = function(expected, precision) {
|
||||
if (!(precision === 0)) {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
jasmine.version_= {
|
||||
"major": 1,
|
||||
"minor": 2,
|
||||
"minor": 3,
|
||||
"build": 0,
|
||||
"revision": 1343710612
|
||||
"revision": 1354052693
|
||||
};
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"major": 1,
|
||||
"minor": 2,
|
||||
"minor": 3,
|
||||
"build": 0
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user