Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
zjsunit: Truncate the stack trace only at run_one_module.
Anders Kaseorg92754891341f
diff --git a/frontend_tests/zjsunit/index.js b/frontend_tests/zjsunit/index.jsindex 42ac10531f9..3755d850ab0 100644--- a/frontend_tests/zjsunit/index.js+++ b/frontend_tests/zjsunit/index.js@@ -60,7 +60,7 @@ Module.prototype.hot = {function short_tb(tb) {const lines = tb.split("\n");- const i = lines.findIndex((line) => line.includes("Module._compile"));+ const i = lines.findIndex((line) => line.includes("run_one_module"));if (i === -1) {return tb;