From 2002b08505cc16891db4874459d6670041af26b1 Mon Sep 17 00:00:00 2001 From: jochen Date: Sun, 1 Nov 2026 10:39:03 +0100 Subject: [PATCH] gitea: the check-owed test reads a missing consumes list as empty, since group A removed gitea's last consume Claude-Session: https://claude.ai/code/session_01NcbgfJ9Gum47zkFKWRaovL --- modules/gitea/test/check-owed.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/gitea/test/check-owed.test.ts b/modules/gitea/test/check-owed.test.ts index afd43584f..d3184a145 100644 --- a/modules/gitea/test/check-owed.test.ts +++ b/modules/gitea/test/check-owed.test.ts @@ -34,7 +34,7 @@ test("the checker's owed is what this module reads, and it consumes no check.sta assert.equal(CHECKER_OWED, "mesh-delivery-checker.owed"); const manifest = JSON.parse(readFileSync(new URL("../module.json", import.meta.url), "utf8")); assert.ok(manifest.reads.includes(CHECKER_OWED), "gitea's manifest reads the checker's owed"); - assert.ok(!manifest.consumes.some((c: string) => c.includes("check.status")), "no check.status is consumed"); + assert.ok(!(manifest.consumes ?? []).some((c: string) => c.includes("check.status")), "no check.status is consumed"); }); test("an owed mesh/check writes the status on its head: its state, its line cut and its link", async () => {