|
16 | 16 | describe("A chat room", function () {
|
17 | 17 |
|
18 | 18 | it("can be bookmarked", mock.initConverse(
|
19 |
| - null, ['rosterGroupsFetched', 'emojisInitialized'], {}, |
| 19 | + ['rosterGroupsFetched', 'emojisInitialized'], {}, |
20 | 20 | async function (done, _converse) {
|
21 | 21 |
|
22 | 22 | await test_utils.waitUntilDiscoConfirmed(
|
|
142 | 142 |
|
143 | 143 |
|
144 | 144 | it("will be automatically opened if 'autojoin' is set on the bookmark", mock.initConverse(
|
145 |
| - null, ['rosterGroupsFetched'], {}, |
| 145 | + ['rosterGroupsFetched'], {}, |
146 | 146 | async function (done, _converse) {
|
147 | 147 |
|
148 | 148 | await test_utils.waitUntilDiscoConfirmed(
|
|
186 | 186 | describe("when bookmarked", function () {
|
187 | 187 |
|
188 | 188 | it("will use the nickname from the bookmark", mock.initConverse(
|
189 |
| - null, ['rosterGroupsFetched'], {}, |
| 189 | + ['rosterGroupsFetched'], {}, |
190 | 190 | async function (done, _converse) {
|
191 | 191 |
|
192 | 192 | await test_utils.waitUntilDiscoConfirmed(
|
|
211 | 211 | }));
|
212 | 212 |
|
213 | 213 | it("displays that it's bookmarked through its bookmark icon", mock.initConverse(
|
214 |
| - null, ['rosterGroupsFetched'], {}, |
| 214 | + ['rosterGroupsFetched'], {}, |
215 | 215 | async function (done, _converse) {
|
216 | 216 |
|
217 | 217 | test_utils.waitUntilDiscoConfirmed(
|
|
239 | 239 | }));
|
240 | 240 |
|
241 | 241 | it("can be unbookmarked", mock.initConverse(
|
242 |
| - null, ['rosterGroupsFetched'], {}, |
| 242 | + ['rosterGroupsFetched'], {}, |
243 | 243 | async function (done, _converse) {
|
244 | 244 |
|
245 | 245 | let sent_stanza, IQ_id;
|
|
317 | 317 | describe("and when autojoin is set", function () {
|
318 | 318 |
|
319 | 319 | it("will be be opened and joined automatically upon login", mock.initConverse(
|
320 |
| - null, ['rosterGroupsFetched'], {}, |
| 320 | + ['rosterGroupsFetched'], {}, |
321 | 321 | async function (done, _converse) {
|
322 | 322 |
|
323 | 323 | await test_utils.waitUntilBookmarksReturned(_converse);
|
|
346 | 346 | describe("Bookmarks", function () {
|
347 | 347 |
|
348 | 348 | it("can be pushed from the XMPP server", mock.initConverse(
|
349 |
| - ['send'], ['rosterGroupsFetched', 'connected'], {}, |
| 349 | + ['rosterGroupsFetched', 'connected'], {}, |
350 | 350 | async function (done, _converse) {
|
351 | 351 |
|
352 | 352 | await test_utils.waitUntilDiscoConfirmed(
|
|
404 | 404 |
|
405 | 405 |
|
406 | 406 | it("can be retrieved from the XMPP server", mock.initConverse(
|
407 |
| - null, ['chatBoxesFetched', 'roomsPanelRendered', 'rosterGroupsFetched'], {}, |
| 407 | + ['chatBoxesFetched', 'roomsPanelRendered', 'rosterGroupsFetched'], {}, |
408 | 408 | async function (done, _converse) {
|
409 | 409 |
|
410 | 410 | await test_utils.waitUntilDiscoConfirmed(
|
|
482 | 482 | describe("The rooms panel", function () {
|
483 | 483 |
|
484 | 484 | it("shows a list of bookmarks", mock.initConverse(
|
485 |
| - null, ['rosterGroupsFetched'], {}, |
| 485 | + ['rosterGroupsFetched'], {}, |
486 | 486 | async function (done, _converse) {
|
487 | 487 |
|
488 | 488 | await test_utils.waitUntilDiscoConfirmed(
|
|
558 | 558 |
|
559 | 559 |
|
560 | 560 | it("remembers the toggle state of the bookmarks list", mock.initConverse(
|
561 |
| - null, ['rosterGroupsFetched'], {}, |
| 561 | + ['rosterGroupsFetched'], {}, |
562 | 562 | async function (done, _converse) {
|
563 | 563 |
|
564 | 564 | test_utils.openControlBox();
|
|
614 | 614 | describe("When hide_open_bookmarks is true and a bookmarked room is opened", function () {
|
615 | 615 |
|
616 | 616 | it("can be closed", mock.initConverse(
|
617 |
| - null, ['rosterGroupsFetched'], |
| 617 | + ['rosterGroupsFetched'], |
618 | 618 | { hide_open_bookmarks: true },
|
619 | 619 | async function (done, _converse) {
|
620 | 620 |
|
|
0 commit comments