Fix failing tests
This commit is contained in:
parent
86809d9301
commit
adf2e97ea1
@ -105,7 +105,7 @@
|
||||
|
||||
it("allows you to search for particular emojis",
|
||||
mock.initConverse(
|
||||
['rosterGroupsFetched', 'chatBoxesFetched'], {},
|
||||
['rosterGroupsFetched', 'chatBoxesFetched', 'emojisInitialized'], {},
|
||||
async function (done, _converse) {
|
||||
|
||||
const muc_jid = 'lounge@montague.lit';
|
||||
|
@ -574,10 +574,12 @@
|
||||
|
||||
it("shows join/leave messages when users enter or exit a groupchat",
|
||||
mock.initConverse(
|
||||
['rosterGroupsFetched', 'chatBoxesFetched'], {},
|
||||
['rosterGroupsFetched', 'chatBoxesFetched', 'emojisInitialized'], {},
|
||||
async function (done, _converse) {
|
||||
|
||||
await test_utils.openChatRoom(_converse, "coven", 'chat.shakespeare.lit', 'some1');
|
||||
await test_utils.getRoomFeatures(_converse, 'coven', 'chat.shakespeare.lit');
|
||||
|
||||
const view = _converse.chatboxviews.get('coven@chat.shakespeare.lit');
|
||||
const chat_content = view.el.querySelector('.chat-content');
|
||||
/* We don't show join/leave messages for existing occupants. We
|
||||
|
Loading…
Reference in New Issue
Block a user