test: increase timeout

This commit is contained in:
Barış Soner Uşaklı
2021-10-07 11:10:58 -04:00
parent 1438f40984
commit 8654a996d3

View File

@@ -737,6 +737,7 @@ describe('Admin Controllers', () => {
});
it('should allow normal user access to admin pages', async () => {
this.timeout(50000);
function makeRequest(url) {
return new Promise((resolve, reject) => {
request(url, { jar: userJar, json: true }, (err, res, body) => {