Jelajahi Sumber

Bump timeout to try and appease travis

JC Brand 6 tahun lalu
induk
melakukan
7750194522
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      spec/omemo.js

+ 1 - 1
spec/omemo.js

@@ -350,7 +350,7 @@
 
             spyOn(_converse.connection, 'send');
             _converse.connection._dataRecv(test_utils.createRequest(stanza));
-            await test_utils.waitUntil(() => _converse.connection.send.calls.count());
+            await test_utils.waitUntil(() => _converse.connection.send.calls.count(), 1000);
             const sent_stanza = _converse.connection.send.calls.all()[0].args[0];
 
             expect(Strophe.serialize(sent_stanza)).toBe(