We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7574152 commit 1ac9ecfCopy full SHA for 1ac9ecf
test/common.js
@@ -56,7 +56,11 @@ module.exports.stripFullStack = function (output) {
56
return line;
57
});
58
59
- var deduped = withDuplicates.filter(function (line, ix) {
+ var withoutInternals = withDuplicates.filter(function (line) {
60
+ return !line.match(/ \(node:[^)]+\)$/);
61
+ });
62
+
63
+ var deduped = withoutInternals.filter(function (line, ix) {
64
var hasPrior = line === stripped && withDuplicates[ix - 1] === stripped;
65
return !hasPrior;
66
0 commit comments