fix: unit test not returning error when test fails

* fix: unit test not returning error when test fails

* chore: add unit test to smoketest.yml

* fix: make linter happy
This commit is contained in:
Aveline
2025-05-19 22:51:11 +02:00
committed by GitHub
parent 3f320e50f7
commit 5ba08de566
7 changed files with 114 additions and 56 deletions

View File

@@ -29,8 +29,6 @@ runTest() {
function exit_with_code() {
if [ $EXIT_CODE -ne 0 ]; then
printf "\e[0;31m❌ Test failed\e[0m\n"
else
printf "\e[0;32m✅ All tests passed\e[0m\n"
fi
exit $EXIT_CODE