mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-21 07:56:16 -04:00
tests: timeouts for tests (#4773)
This commit is contained in:
parent
f9ec49d7ac
commit
e585d321f9
42 changed files with 368 additions and 4 deletions
|
@ -43,6 +43,7 @@ describe(__filename, function () {
|
|||
});
|
||||
|
||||
it('can obtain valid openapi definition document', async function () {
|
||||
this.timeout(15000);
|
||||
await agent.get('/api/openapi.json')
|
||||
.expect(200)
|
||||
.expect((res) => {
|
||||
|
@ -56,6 +57,7 @@ describe(__filename, function () {
|
|||
});
|
||||
|
||||
it('supports jsonp calls', async function () {
|
||||
this.timeout(150);
|
||||
await agent.get(`${endPoint('createPad')}&jsonp=jsonp_1&padID=${testPadId}`)
|
||||
.expect(200)
|
||||
.expect('Content-Type', /javascript/)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue