fix: exit with code 1 when no test fixtures found
Per CodeRabbit review - quality gate scripts should fail on unexpected states
This commit is contained in:
parent
6bf6a2b6d2
commit
b46e20dc3a
|
|
@ -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`);
|
||||
|
|
|
|||
Loading…
Reference in New Issue