mirror of
https://github.com/QuiteAFancyEmerald/Holy-Unblocker.git
synced 2025-05-12 11:30:01 -04:00
Ghetto domain blacklist since workerware is being difficult; other JS revisions.
This commit is contained in:
parent
636e1fc45f
commit
be733b69a7
5 changed files with 236 additions and 5 deletions
|
@ -76,7 +76,7 @@ const testServerResponse = async () => {
|
|||
console.error(
|
||||
"One or more endpoints failed to respond with status code 200. Test failed."
|
||||
);
|
||||
process.exit(1);
|
||||
process.exitCode = 1;
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -303,14 +303,14 @@ xx xx
|
|||
|
||||
if (rammerheadPassed && ultravioletPassed) {
|
||||
console.log("Both tests passed.");
|
||||
process.exit(0);
|
||||
process.exitCode = 0;
|
||||
} else {
|
||||
console.error("Tests failed.");
|
||||
process.exit(1);
|
||||
process.exitCode = 1;
|
||||
}
|
||||
} catch (error) {
|
||||
console.error("Error in testCommonJSOnPage:", error.message);
|
||||
process.exit(1);
|
||||
process.exitCode = 1;
|
||||
} finally {
|
||||
await browser.close();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue