api/test: make deepsource happy
This commit is contained in:
parent
f6bffe543c
commit
cf40f0542f
1 changed files with 1 additions and 3 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue