configure codecov

This commit is contained in:
Rene Haas
2022-08-19 17:39:08 +02:00
parent a6b40e0231
commit a88102de69
6 changed files with 41 additions and 20 deletions
@@ -8,8 +8,8 @@ const logError = async (page, ...args) => {
console.log(title, ...args);
};
// default timeout = // 10mins
module.exports = async (page, timeout = 10 * 60 * 2000) => {
// default timeout = // 15mins
module.exports = async (page, timeout = 10 * 60 * 1500) => {
page.on('pageerror', (err) => {
logError(page, err.message);
});