test: possible fix to timeout

This commit is contained in:
Barış Soner Uşaklı
2021-10-07 11:24:12 -04:00
parent 8654a996d3
commit 63109c0705

View File

@@ -736,7 +736,7 @@ describe('Admin Controllers', () => {
});
});
it('should allow normal user access to admin pages', async () => {
it('should allow normal user access to admin pages', async function () {
this.timeout(50000);
function makeRequest(url) {
return new Promise((resolve, reject) => {