diff options
Diffstat (limited to 'test/testabilityPatch.js')
| -rw-r--r-- | test/testabilityPatch.js | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/test/testabilityPatch.js b/test/testabilityPatch.js index 5bcee3fe..4545f937 100644 --- a/test/testabilityPatch.js +++ b/test/testabilityPatch.js @@ -103,7 +103,13 @@ afterEach(function() { if ($logMock[logLevel].logs.length) { forEach($logMock[logLevel].logs, function(log) { forEach(log, function deleteStack(logItem) { - if (logItem instanceof Error) delete logItem.stack; + if (logItem instanceof Error) { + dump(logItem.stack); + delete logItem.stack; + delete logItem.arguments; + } else { + dump(logItem); + } }); }); |
