test: fix strict CI gates

This commit is contained in:
Peter Steinberger
2026-05-08 05:56:31 +01:00
parent 79e3142122
commit 9e58cc82c8
53 changed files with 318 additions and 222 deletions

View File

@@ -21,7 +21,7 @@ describe("restart-helper", () => {
async function prepareAndReadScript(env: Record<string, string>, gatewayPort = 18789) {
const scriptPath = await prepareRestartScript(env, gatewayPort);
if (scriptPath === undefined) {
if (scriptPath == null) {
throw new Error("expected restart script path");
}
const content = await fs.readFile(scriptPath, "utf-8");