zulip/web/src/zulip_test.ts

18 lines
1.0 KiB
TypeScript

// This module, exposed through the zulip_test global variable,
// re-exports certain internal functions so they can be used by the
// Puppeteer tests. It should not be used in the code itself.
export {set_wildcard_mention_threshold, wildcard_mention_threshold} from "./compose_validate";
export {private_message_recipient} from "./compose_state";
export {current as current_msg_list} from "./message_lists";
export {get_stream_id, get_sub, get_subscriber_count} from "./stream_data";
export {get_by_user_id as get_person_by_user_id, get_user_id_from_name} from "./people";
export {last_visible as last_visible_row, id as row_id} from "./rows";
export {cancel as cancel_compose} from "./compose_actions";
export {page_params, page_params_parse_time} from "./base_page_params";
// @ts-expect-error We haven't converted reload.js yet
export {initiate as initiate_reload} from "./reload";
export {page_load_time} from "./setup";
export {current_user, realm} from "./state_data";
export {add_user_id_to_new_stream} from "./stream_create_subscribers";