Przeglądaj źródła

Fix failing test

JC Brand 6 lat temu
rodzic
commit
ad8d4c90b3
1 zmienionych plików z 2 dodań i 1 usunięć
  1. 2 1
      spec/converse.js

+ 2 - 1
spec/converse.js

@@ -25,7 +25,8 @@
             }));
 
             describe("with prebind", function () {
-                it("needs a jid when also using keepalive", mock.initConverse((done, _converse) => {
+
+                it("needs a jid when also using keepalive", mock.initConverse([], null, {'auto_login': false}, (done, _converse) => {
                     const authentication = _converse.authentication;
                     const jid = _converse.jid;
                     delete _converse.jid;