api/test: make deepsource happy

This commit is contained in:
jj 2024-11-13 17:27:26 +00:00
parent f6bffe543c
commit cf40f0542f
No known key found for this signature in database

View file

@ -86,14 +86,12 @@ switch (action) {
break;
case "run-tests-for":
const service = process.argv[3];
env.streamLifespan = 10000;
env.apiURL = 'http://x/';
randomizeCiphers();
try {
const { softFails } = await runTestsFor(service);
const { softFails } = await runTestsFor(process.argv[3]);
process.exitCode = Number(!!softFails);
} catch(e) {
console.error(e);