diff --git a/test/common.js b/test/common.js index 201b3df7..6afaa9e9 100644 --- a/test/common.js +++ b/test/common.js @@ -56,7 +56,11 @@ module.exports.stripFullStack = function (output) { return line; }); - var deduped = withDuplicates.filter(function (line, ix) { + var withoutInternals = withDuplicates.filter(function (line) { + return !line.match(/ \(node:[^)]+\)$/); + }); + + var deduped = withoutInternals.filter(function (line, ix) { var hasPrior = line === stripped && withDuplicates[ix - 1] === stripped; return !hasPrior; });