mirror of
https://github.com/QuiteAFancyEmerald/Holy-Unblocker.git
synced 2025-05-14 04:20:00 -04:00
maybe it will return fail now correctly
This commit is contained in:
parent
270703f66d
commit
1cb8476968
1 changed files with 2 additions and 0 deletions
2
test.js
2
test.js
|
@ -133,8 +133,10 @@ async function testCommonJSOnPage() {
|
||||||
|
|
||||||
if (rammerheadPassed && ultravioletPassed) {
|
if (rammerheadPassed && ultravioletPassed) {
|
||||||
console.log('Both tests passed.');
|
console.log('Both tests passed.');
|
||||||
|
process.exit(0); // Exit with success
|
||||||
} else {
|
} else {
|
||||||
console.error('Tests failed.');
|
console.error('Tests failed.');
|
||||||
|
process.exit(1); // Exit with failure
|
||||||
}
|
}
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error('Error in testCommonJSOnPage:', error.message);
|
console.error('Error in testCommonJSOnPage:', error.message);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue