diff --git a/test/test.js b/test/test.js index 51d2a33b..e117df73 100644 --- a/test/test.js +++ b/test/test.js @@ -89,7 +89,7 @@ error: [], reset: function () { for (var i in testLog) { - if (testLog.hasOwnProperty(i) && 'length' in testLog[i]) { + if (testLog.hasOwnProperty(i) && 'length' in testLog[i] && 'push' in testLog[i]) { testLog[i].length = 0; } }