mirror of https://github.com/zulip/zulip.git
compose.js: Add a setup statement in an on() test.
This commit is contained in:
parent
f75b72ef07
commit
783f75ef10
|
@ -957,6 +957,7 @@ function test_with_mock_socket(test_params) {
|
|||
var previous_users = $('#compose_invite_users .compose_invite_user');
|
||||
previous_users.length = 1;
|
||||
previous_users[0] = warning_row;
|
||||
$('#compose_invite_users').hide();
|
||||
|
||||
// Now try to mention the same person again. The template should
|
||||
// not render.
|
||||
|
|
Loading…
Reference in New Issue