mirror of
https://github.com/wukko/cobalt.git
synced 2025-02-02 08:26:22 +01:00
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;
|
break;
|
||||||
|
|
||||||
case "run-tests-for":
|
case "run-tests-for":
|
||||||
const service = process.argv[3];
|
|
||||||
|
|
||||||
env.streamLifespan = 10000;
|
env.streamLifespan = 10000;
|
||||||
env.apiURL = 'http://x/';
|
env.apiURL = 'http://x/';
|
||||||
randomizeCiphers();
|
randomizeCiphers();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
const { softFails } = await runTestsFor(service);
|
const { softFails } = await runTestsFor(process.argv[3]);
|
||||||
process.exitCode = Number(!!softFails);
|
process.exitCode = Number(!!softFails);
|
||||||
} catch(e) {
|
} catch(e) {
|
||||||
console.error(e);
|
console.error(e);
|
||||||
|
|
Loading…
Reference in a new issue