Set more test timeouts
This commit is contained in:
parent
82b7e2846a
commit
6cd2fac33c
@ -2,13 +2,13 @@
|
||||
|
||||
const { Promise, $msg, $pres, sizzle } = converse.env;
|
||||
const u = converse.env.utils;
|
||||
const originalTimeout = jasmine.DEFAULT_TIMEOUT_INTERVAL;
|
||||
const original_timeout = jasmine.DEFAULT_TIMEOUT_INTERVAL;
|
||||
|
||||
describe("Emojis", function () {
|
||||
describe("The emoji picker", function () {
|
||||
|
||||
beforeEach(() => (jasmine.DEFAULT_TIMEOUT_INTERVAL = 7000));
|
||||
afterEach(() => (jasmine.DEFAULT_TIMEOUT_INTERVAL = originalTimeout));
|
||||
afterEach(() => (jasmine.DEFAULT_TIMEOUT_INTERVAL = original_timeout));
|
||||
|
||||
it("can be opened by clicking a button in the chat toolbar",
|
||||
mock.initConverse(
|
||||
|
@ -1,8 +1,13 @@
|
||||
/*global mock */
|
||||
// See: https://xmpp.org/rfcs/rfc3921.html
|
||||
|
||||
const original_timeout = jasmine.DEFAULT_TIMEOUT_INTERVAL;
|
||||
|
||||
describe("A sent presence stanza", function () {
|
||||
|
||||
beforeEach(() => (jasmine.DEFAULT_TIMEOUT_INTERVAL = 7000));
|
||||
afterEach(() => (jasmine.DEFAULT_TIMEOUT_INTERVAL = original_timeout));
|
||||
|
||||
it("includes a entity capabilities node",
|
||||
mock.initConverse(
|
||||
['rosterGroupsFetched'], {},
|
||||
|
Loading…
Reference in New Issue
Block a user