From f37a95cad86743fac4148c8d3eb09adaff7e5f1d Mon Sep 17 00:00:00 2001 From: John McLear Date: Mon, 25 Jan 2021 21:35:47 +0000 Subject: [PATCH] timeout values --- tests/backend/specs/api/chat.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/backend/specs/api/chat.js b/tests/backend/specs/api/chat.js index d51dbfaee..e1ed98ede 100644 --- a/tests/backend/specs/api/chat.js +++ b/tests/backend/specs/api/chat.js @@ -37,6 +37,7 @@ describe(__filename, function () { */ describe('createPad', function () { + this.timeout(40); it('creates a new Pad', function (done) { api.get(`${endPoint('createPad')}&padID=${padID}`) .expect((res) => { @@ -48,6 +49,7 @@ describe(__filename, function () { }); describe('createAuthor', function () { + this.timeout(30); it('Creates an author with a name set', function (done) { api.get(endPoint('createAuthor')) .expect((res) => { @@ -60,6 +62,7 @@ describe(__filename, function () { }); describe('appendChatMessage', function () { + this.timeout(30); it('Adds a chat message to the pad', function (done) { api.get(`${endPoint('appendChatMessage')}&padID=${padID}&text=blalblalbha&authorID=${authorID}&time=${timestamp}`) .expect((res) => { @@ -72,6 +75,7 @@ describe(__filename, function () { describe('getChatHead', function () { + this.timeout(20); it('Gets the head of chat', function (done) { api.get(`${endPoint('getChatHead')}&padID=${padID}`) .expect((res) => { @@ -85,6 +89,7 @@ describe(__filename, function () { }); describe('getChatHistory', function () { + this.timeout(20); it('Gets Chat History of a Pad', function (done) { api.get(`${endPoint('getChatHistory')}&padID=${padID}`) .expect((res) => {