test: compatible with github actions

This commit is contained in:
DIYgod
2019-11-25 21:59:24 +08:00
parent e71ed5fafa
commit da19f818a4
+1 -1
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);
});