test: increase timeout

isekai-main
Barış Soner Uşaklı 3 years ago
parent 1438f40984
commit 8654a996d3

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

Loading…
Cancel
Save