lint and test timeouts for specialpages.js

mochawesome
John McLear 2021-01-27 21:18:28 +00:00
parent ae49fcf1ae
commit 5aa0ad3f55
1 changed files with 4 additions and 0 deletions

View File

@ -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);
}); });
}); });