mirror of https://github.com/zulip/zulip.git
message_flags: Use override to mock ui.update_starred_view.
This commit is contained in:
parent
105a5a95ee
commit
6394a59a5f
|
@ -22,9 +22,9 @@ run_test("starred", (override) => {
|
|||
};
|
||||
let ui_updated;
|
||||
|
||||
ui.update_starred_view = () => {
|
||||
override(ui, "update_starred_view", () => {
|
||||
ui_updated = true;
|
||||
};
|
||||
});
|
||||
|
||||
let posted_data;
|
||||
|
||||
|
|
Loading…
Reference in New Issue