mirror of
https://github.com/niklasvh/html2canvas.git
synced 2023-08-10 21:13:10 +03:00
Fix tests
This commit is contained in:
@ -113,6 +113,12 @@
|
||||
} else {
|
||||
throw new Error("Couldn't run test after 3 retries");
|
||||
}
|
||||
})
|
||||
.then(function(e) {
|
||||
if (e.message === "timeout error") {
|
||||
throw e;
|
||||
}
|
||||
return e;
|
||||
});
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user