style: align multiline ternary operators
Backend security / security (push) Successful in 8s
Backend verify / verify (push) Failing after 2m11s
Backend security / security (pull_request) Successful in 8s
Backend verify / verify (pull_request) Failing after 2m17s
Conventional commits / commits (pull_request) Successful in 34s

This commit is contained in:
2026-09-28 12:33:56 +03:00
parent 9cc9fbdcff
commit 0303e60b64
54 changed files with 986 additions and 982 deletions
+5 -5
View File
@@ -9,11 +9,11 @@ const available = readdirSync(__dirname)
.sort();
const requested = process.argv.slice(2);
const suites =
requested.length === 0 ?
['app.e2e-spec.ts', 'bank-cards.e2e-spec.ts'] :
requested.length === 1 && requested[0] === '--all' ?
available :
requested;
requested.length === 0
? ['app.e2e-spec.ts', 'bank-cards.e2e-spec.ts']
: requested.length === 1 && requested[0] === '--all'
? available
: requested;
if (suites.some((suite) => !available.includes(suite))) {
throw new Error('Unknown e2e suite');
}