From cf40f0542f7ed4d1a924f8356de4d84aba08e91d Mon Sep 17 00:00:00 2001 From: jj Date: Wed, 13 Nov 2024 17:27:26 +0000 Subject: [PATCH] api/test: make deepsource happy --- api/src/util/test.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/api/src/util/test.js b/api/src/util/test.js index a8b70fd3..efb0f3a5 100644 --- a/api/src/util/test.js +++ b/api/src/util/test.js @@ -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);