Browse Source

Fix failing test

JC Brand 6 years ago
parent
commit
ad8d4c90b3
1 changed files with 2 additions and 1 deletions
  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;