mirror of
https://github.com/imputnet/cobalt.git
synced 2024-12-28 02:26:10 +00:00
api/test: make deepsource happy
This commit is contained in:
parent
f6bffe543c
commit
cf40f0542f
|
@ -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