mirror of
https://github.com/zulip/zulip.git
synced 2025-11-15 11:22:04 +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();
|
exports.cleanup_event_queue();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// For unit testing
|
||||||
|
exports._get_events_success = get_events_success;
|
||||||
|
|
||||||
return exports;
|
return exports;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user