mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 04:53:36 +00:00
Export server_events._get_events_success for testing.
This commit is contained in:
@@ -421,6 +421,8 @@ window.addEventListener("beforeunload", function (event) {
|
||||
exports.cleanup_event_queue();
|
||||
});
|
||||
|
||||
// For unit testing
|
||||
exports._get_events_success = get_events_success;
|
||||
|
||||
return exports;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user