zjsunit: Show more of the traceback.

We still reduce a lot of clutter, but this
shows wrappers around `run_test` now.
This commit is contained in:
Steve Howell 2021-02-20 16:07:21 +00:00 committed by Steve Howell
parent 490894475e
commit 5bd73ce190
1 changed files with 1 additions and 3 deletions

View File

@ -56,9 +56,7 @@ Module.prototype.hot = {
function short_tb(tb) {
const lines = tb.split("\n");
const i = lines.findIndex(
(line) => line.includes("run_test") || line.includes("run_one_module"),
);
const i = lines.findIndex((line) => line.includes("Module._compile"));
if (i === -1) {
return tb;