1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 21:28:14 +00:00

test-js: Exit with 1 if any test failed

This commit is contained in:
Linus Groh 2020-10-18 21:31:26 +01:00 committed by Andreas Kling
parent 03b817b130
commit 3a72a93b9d

View file

@ -636,5 +636,5 @@ int main(int argc, char** argv)
vm = nullptr;
return 0;
return TestRunner::the()->counts().tests_failed > 0 ? 1 : 0;
}