diff options
Diffstat (limited to 'test/testabilityPatch.js')
| -rw-r--r-- | test/testabilityPatch.js | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/test/testabilityPatch.js b/test/testabilityPatch.js index bb553d68..606d29f0 100644 --- a/test/testabilityPatch.js +++ b/test/testabilityPatch.js @@ -130,10 +130,11 @@ function clearJqCache(){ count ++; delete jqCache[key]; forEach(value, function(value, key){ - if (value.$element) - dump(key, sortedHtml(value.$element)); - else - dump(key, toJson(value)); + if (value.$element) { + dump('LEAK', key, value.$id, sortedHtml(value.$element)); + } else { + dump('LEAK', key, toJson(value)); + } }); }); if (count) { |
