This commit is contained in:
JC Brand 2020-01-22 15:58:28 +01:00
parent bda704901f
commit 78b890ac70
2 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@
await test_utils.openControlBox(_converse);
const controlbox = _converse.chatboxviews.get('controlbox');
let list = controlbox.el.querySelector('.list-container--openrooms');
expect(_.includes(list.classList, 'hidden')).toBeTruthy();
expect(u.hasClass('hidden', list)).toBeTruthy();
await test_utils.openChatRoom(_converse, 'room', 'conference.shakespeare.lit', 'JC');
const lview = _converse.rooms_list_view

View File

@ -455,7 +455,7 @@ converse.plugins.add('converse-emoji-views', {
_converse.api.listen.on('headlinesBoxInitialized', () => _converse.api.emojis.initialize());
_converse.api.listen.on('chatRoomInitialized', () => _converse.api.emojis.initialize());
_converse.api.listen.on('chatBox', () => _converse.api.emojis.initialize());
_converse.api.listen.on('chatBoxInitialized', () => _converse.api.emojis.initialize());
/************************ END Event Handlers ************************/
}