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.

dispatch test: Remove unneeded blueslip wrapper.

Steve Howelld0378b07c71b
diff --git a/frontend_tests/node_tests/dispatch.js b/frontend_tests/node_tests/dispatch.js
index 676ece98431..38fcc3b9c7c 100644
--- a/frontend_tests/node_tests/dispatch.js
+++ b/frontend_tests/node_tests/dispatch.js
@@ -64,20 +64,6 @@ set_global("page_params", {
});
const page_params = global.page_params;
-// We use blueslip to print the traceback
-set_global("blueslip", {
- info: noop,
- error(msg, more_info, stack) {
- console.log("\nFailed to process an event:\n", more_info.event, "\n");
- const error = new Error();
- error.stack = stack;
- throw error;
- },
- exception_msg(ex) {
- return ex.message;
- },
-});
-
// For data-oriented modules, just use them, don't stub them.
zrequire("alert_words");
zrequire("unread");