test: compatible with github actions

This commit is contained in:
DIYgod 2019-11-25 21:59:24 +08:00
parent e71ed5fafa
commit da19f818a4
No known key found for this signature in database
GPG Key ID: EC0B76A252D3EF67
1 changed files with 1 additions and 1 deletions

View File

@ -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);
});