Skip to content

Commit

Permalink
fix: workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
0xOneTony committed Nov 27, 2023
1 parent e7b2d12 commit 261f302
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion e2e-tests-with-nodes.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,10 @@ require('dotenv').config(); // Initialize dotenv to load environment variables
anvilOptimism.kill();

// Exit with an error code if tests failed
if (!testPassed) process.exitCode = 1;
if (!testPassed) {
console.error('Tests failed. Setting exit code to 1.');
proccess.exit(1);
}
});
})();

Expand Down

0 comments on commit 261f302

Please sign in to comment.