mirror of https://github.com/zulip/zulip.git
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:
parent
490894475e
commit
5bd73ce190
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue