Pretty printer will now use MAX_PRETTY_PRINT_ARRAY_LENGTH for objects

- Fixes #1291
- Fixes #1360
This commit is contained in:
Gregg Van Hove
2017-06-14 13:34:10 -07:00
parent f9d1e2f280
commit 4c491b2dc0
4 changed files with 121 additions and 26 deletions

View File

@@ -11,6 +11,7 @@ getJasmineRequireObj().base = function(j$, jasmineGlobal) {
j$.MAX_PRETTY_PRINT_DEPTH = 40;
/**
* Maximum number of array elements to display when pretty printing objects.
* This will also limit the number of keys and values displayed for an object.
* Elements past this number will be ellipised.
* @name jasmine.MAX_PRETTY_PRINT_ARRAY_LENGTH
*/