mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2026-01-01 22:29:20 +03:00
Count chrome driver mismatch as failure
This commit is contained in:
@@ -12,6 +12,11 @@ test("Selenium Chrome test", async () => {
|
|||||||
console.warn("A browser is probably not installed, skipping selenium tests");
|
console.warn("A browser is probably not installed, skipping selenium tests");
|
||||||
console.warn(e);
|
console.warn(e);
|
||||||
|
|
||||||
|
if (String(e).includes("This version of ChromeDriver only supports")) {
|
||||||
|
// Count as failure
|
||||||
|
throw e;
|
||||||
|
}
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user