diff --git a/lib/history.js b/lib/history.js index 80209ed..8a2f122 100644 --- a/lib/history.js +++ b/lib/history.js @@ -8,7 +8,9 @@ function push(item) { } function dump() { - return history.toarray(); + const result = history.toarray(); + console.log(JSON.stringify(result, null, 2)); + return result; } exports.push = push;