mirror of
https://github.com/ONLYOFFICE/server.git
synced 2026-02-10 18:05:07 +08:00
[bug] Fix tests timeout
This commit is contained in:
@ -786,7 +786,7 @@ describe('HTTP Request Unit Tests', () => {
|
||||
} finally {
|
||||
await new Promise(resolve => testServer.close(resolve));
|
||||
}
|
||||
});
|
||||
}, 30000);
|
||||
|
||||
test('disables keep-alive when forever is false', async () => {
|
||||
const mockCtx = createMockContext({
|
||||
@ -1312,7 +1312,7 @@ describe('HTTP Request Unit Tests', () => {
|
||||
} finally {
|
||||
await new Promise(resolve => testServer.close(resolve));
|
||||
}
|
||||
});
|
||||
}, 30000);
|
||||
|
||||
test('successfully routes POST request through a real proxy', async () => {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user