mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2026-01-01 14:19:23 +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(e);
|
||||
|
||||
if (String(e).includes("This version of ChromeDriver only supports")) {
|
||||
// Count as failure
|
||||
throw e;
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user