Skip to content

Commit

Permalink
maybe it will return fail now correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
QuiteAFancyEmerald committed Jul 10, 2024
1 parent 270703f commit 1cb8476
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,10 @@ async function testCommonJSOnPage() {

if (rammerheadPassed && ultravioletPassed) {
console.log('Both tests passed.');
process.exit(0); // Exit with success
} else {
console.error('Tests failed.');
process.exit(1); // Exit with failure
}
} catch (error) {
console.error('Error in testCommonJSOnPage:', error.message);
Expand Down

0 comments on commit 1cb8476

Please sign in to comment.