mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-22 00:16:15 -04:00
timeout values
This commit is contained in:
parent
35b01230d0
commit
f37a95cad8
1 changed files with 5 additions and 0 deletions
|
@ -37,6 +37,7 @@ describe(__filename, function () {
|
||||||
*/
|
*/
|
||||||
|
|
||||||
describe('createPad', function () {
|
describe('createPad', function () {
|
||||||
|
this.timeout(40);
|
||||||
it('creates a new Pad', function (done) {
|
it('creates a new Pad', function (done) {
|
||||||
api.get(`${endPoint('createPad')}&padID=${padID}`)
|
api.get(`${endPoint('createPad')}&padID=${padID}`)
|
||||||
.expect((res) => {
|
.expect((res) => {
|
||||||
|
@ -48,6 +49,7 @@ describe(__filename, function () {
|
||||||
});
|
});
|
||||||
|
|
||||||
describe('createAuthor', function () {
|
describe('createAuthor', function () {
|
||||||
|
this.timeout(30);
|
||||||
it('Creates an author with a name set', function (done) {
|
it('Creates an author with a name set', function (done) {
|
||||||
api.get(endPoint('createAuthor'))
|
api.get(endPoint('createAuthor'))
|
||||||
.expect((res) => {
|
.expect((res) => {
|
||||||
|
@ -60,6 +62,7 @@ describe(__filename, function () {
|
||||||
});
|
});
|
||||||
|
|
||||||
describe('appendChatMessage', function () {
|
describe('appendChatMessage', function () {
|
||||||
|
this.timeout(30);
|
||||||
it('Adds a chat message to the pad', function (done) {
|
it('Adds a chat message to the pad', function (done) {
|
||||||
api.get(`${endPoint('appendChatMessage')}&padID=${padID}&text=blalblalbha&authorID=${authorID}&time=${timestamp}`)
|
api.get(`${endPoint('appendChatMessage')}&padID=${padID}&text=blalblalbha&authorID=${authorID}&time=${timestamp}`)
|
||||||
.expect((res) => {
|
.expect((res) => {
|
||||||
|
@ -72,6 +75,7 @@ describe(__filename, function () {
|
||||||
|
|
||||||
|
|
||||||
describe('getChatHead', function () {
|
describe('getChatHead', function () {
|
||||||
|
this.timeout(20);
|
||||||
it('Gets the head of chat', function (done) {
|
it('Gets the head of chat', function (done) {
|
||||||
api.get(`${endPoint('getChatHead')}&padID=${padID}`)
|
api.get(`${endPoint('getChatHead')}&padID=${padID}`)
|
||||||
.expect((res) => {
|
.expect((res) => {
|
||||||
|
@ -85,6 +89,7 @@ describe(__filename, function () {
|
||||||
});
|
});
|
||||||
|
|
||||||
describe('getChatHistory', function () {
|
describe('getChatHistory', function () {
|
||||||
|
this.timeout(20);
|
||||||
it('Gets Chat History of a Pad', function (done) {
|
it('Gets Chat History of a Pad', function (done) {
|
||||||
api.get(`${endPoint('getChatHistory')}&padID=${padID}`)
|
api.get(`${endPoint('getChatHistory')}&padID=${padID}`)
|
||||||
.expect((res) => {
|
.expect((res) => {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue