lint and test timeouts for specialpages.js
parent
ae49fcf1ae
commit
5aa0ad3f55
|
@ -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…
Reference in New Issue