tests: Remove unnecessary jQuery stub.

$().is(':visible') is already implemented in zjquery.
This commit is contained in:
Joshua Pan 2018-07-26 00:08:44 -07:00 committed by showell
parent 4554b564f7
commit bf8aa2a1d7
1 changed files with 0 additions and 5 deletions

View File

@ -294,11 +294,6 @@ run_test('validate_stream_message', () => {
assert.equal(data.count, 16);
return 'compose_all_everyone_stub';
};
$('#compose-all-everyone').is = function (sel) {
if (sel === ':visible') {
return $('#compose-all-everyone').visible();
}
};
var compose_content;
$('#compose-all-everyone').append = function (data) {
compose_content = data;