mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-09-19 01:43:35 +08:00
test: longer closing puppeteer page time
This commit is contained in:
@@ -14,7 +14,7 @@ describe('puppeteer', () => {
|
||||
expect(html.length).toBeGreaterThan(0);
|
||||
|
||||
expect((await browser.process()).exitCode).toBe(null);
|
||||
await wait(11 * 1000);
|
||||
await wait(31 * 1000);
|
||||
expect((await browser.process()).exitCode).toBe(0);
|
||||
}, 20000);
|
||||
}, 40000);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user