Use j$.pp instead of JSON.stringify() for pretty printing
This commit is contained in:
@@ -74,9 +74,7 @@ getJasmineRequireObj().ExceptionFormatter = function(j$) {
|
||||
}
|
||||
|
||||
if (!empty) {
|
||||
try {
|
||||
return 'error properties: ' + JSON.stringify(result, null, 2) + '\n';
|
||||
} catch (_) {}
|
||||
return 'error properties: ' + j$.pp(result) + '\n';
|
||||
}
|
||||
|
||||
return '';
|
||||
|
||||
Reference in New Issue
Block a user