Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

zjsunit: Show more of the traceback.

Steve Howell5bd73ce1909b
diff --git a/frontend_tests/zjsunit/index.js b/frontend_tests/zjsunit/index.js
index a95372d1a40..d3830a0013a 100644
--- a/frontend_tests/zjsunit/index.js
+++ b/frontend_tests/zjsunit/index.js
@@ -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;