Fix linting error
This commit is contained in:
parent
671691353a
commit
7cf9c9ef8f
@ -494,7 +494,7 @@
|
|||||||
_converse.visible_toolbar_buttons.call = true; // enable the button
|
_converse.visible_toolbar_buttons.call = true; // enable the button
|
||||||
test_utils.openChatBoxFor(_converse, contact_jid);
|
test_utils.openChatBoxFor(_converse, contact_jid);
|
||||||
view = _converse.chatboxviews.get(contact_jid);
|
view = _converse.chatboxviews.get(contact_jid);
|
||||||
var toolbar = view.el.querySelector('ul.chat-toolbar');
|
toolbar = view.el.querySelector('ul.chat-toolbar');
|
||||||
call_button = toolbar.querySelector('.toggle-call');
|
call_button = toolbar.querySelector('.toggle-call');
|
||||||
call_button.click();
|
call_button.click();
|
||||||
expect(_converse.emit).toHaveBeenCalledWith('callButtonClicked', jasmine.any(Object));
|
expect(_converse.emit).toHaveBeenCalledWith('callButtonClicked', jasmine.any(Object));
|
||||||
|
Loading…
Reference in New Issue
Block a user