mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-24 01:16:15 -04:00
lint and test timeouts for specialpages.js
This commit is contained in:
parent
ae49fcf1ae
commit
5aa0ad3f55
1 changed files with 4 additions and 0 deletions
|
@ -1,7 +1,10 @@
|
||||||
|
'use strict';
|
||||||
|
|
||||||
const common = require('../common');
|
const common = require('../common');
|
||||||
const settings = require('ep_etherpad-lite/node/utils/Settings');
|
const settings = require('ep_etherpad-lite/node/utils/Settings');
|
||||||
|
|
||||||
describe(__filename, function () {
|
describe(__filename, function () {
|
||||||
|
this.timeout(30000);
|
||||||
let agent;
|
let agent;
|
||||||
const backups = {};
|
const backups = {};
|
||||||
before(async function () { agent = await common.init(); });
|
before(async function () { agent = await common.init(); });
|
||||||
|
@ -19,6 +22,7 @@ describe(__filename, function () {
|
||||||
|
|
||||||
describe('/javascript', function () {
|
describe('/javascript', function () {
|
||||||
it('/javascript -> 200', async function () {
|
it('/javascript -> 200', async function () {
|
||||||
|
this.timeout(200);
|
||||||
await agent.get('/javascript').expect(200);
|
await agent.get('/javascript').expect(200);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue