Skip to content

Commit

Permalink
chore: do not show node stack references
Browse files Browse the repository at this point in the history
  • Loading branch information
galargh committed Sep 2, 2024
1 parent 9e95148 commit fcbc695
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions v-next/hardhat-node-test-reporter/src/error-formatting.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,9 @@ function formatSingleError(error: Error, isCause: boolean = false): string {
}

// Remove all the stack references originating from node
// stackReferences = stackReferences.filter(reference => {
// return !reference.location.startsWith("node:");
// });
stackReferences = stackReferences.filter(reference => {
return !reference.location.startsWith("node:");
});

const stack = stackReferences.map(formatStackReference).join("\n");

Expand Down

0 comments on commit fcbc695

Please sign in to comment.