From b46e20dc3a2d2f8926c8540ae1f22903adceb50d Mon Sep 17 00:00:00 2001 From: cx-noam-brendel <139764378+cx-noam-brendel@users.noreply.github.com> Date: Thu, 15 Jan 2026 08:49:06 +0200 Subject: [PATCH] fix: exit with code 1 when no test fixtures found Per CodeRabbit review - quality gate scripts should fail on unexpected states --- test/test-module-schema.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test-module-schema.js b/test/test-module-schema.js index 34713b62..9edf619e 100644 --- a/test/test-module-schema.js +++ b/test/test-module-schema.js @@ -266,7 +266,7 @@ async function main() { if (testFiles.length === 0) { console.log(`${colors.yellow}⚠️ No test fixtures found${colors.reset}`); - process.exit(0); + process.exit(1); } console.log(`Found ${colors.cyan}${testFiles.length}${colors.reset} test fixture(s)\n`);