timeout values

This commit is contained in:
John McLear 2021-01-25 21:35:47 +00:00
parent 35b01230d0
commit f37a95cad8

View file

@ -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) => {