test: compatible with github actions
This commit is contained in:
parent
e71ed5fafa
commit
da19f818a4
|
|
@ -14,7 +14,7 @@ describe('puppeteer', () => {
|
|||
expect(html.length).toBeGreaterThan(0);
|
||||
|
||||
expect((await browser.process()).exitCode).toBe(null);
|
||||
await wait(10 * 1000);
|
||||
await wait(11 * 1000);
|
||||
expect((await browser.process()).exitCode).toBe(0);
|
||||
}, 20000);
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue