diff --git a/tests/recipe-secrets.test.ts b/tests/recipe-secrets.test.ts index 76f1b7b..b6be578 100644 --- a/tests/recipe-secrets.test.ts +++ b/tests/recipe-secrets.test.ts @@ -229,11 +229,6 @@ describe("Idunn recipe secret declarations", () => { it("declares every other name loadConfig reads, or says why a binding never sets it", () => { // Idunn refuses a binding that sets an undeclared name, so an undeclared // name is a setting no Idunn-admitted generation can ever change. - const idunnOwned = new Set([ - "GAMECULT_IDUNN_RUNTIME_BUNDLE", - "GAMECULT_IDUNN_CANDIDATE_BIND", - "GAMECULT_IDUNN_PROCESS_WRITE_LEASE", - ]); const neverBound = new Set([ // The listen socket is the candidate bind under Idunn, and the command port follows it. "HOST", @@ -248,7 +243,9 @@ describe("Idunn recipe secret declarations", () => { const declared = new Set(everyDeclaredName); const unreachable = [...explored.names] .filter((name) => !secretNames.includes(name) && !name.endsWith("_FILE")) - .filter((name) => !declared.has(name) && !idunnOwned.has(name) && !neverBound.has(name)); + .filter((name) => !declared.has(name) && !neverBound.has(name)); expect(unreachable).toEqual([]); + // An exemption for a name nothing reads would hide the next real gap. + expect([...neverBound].filter((name) => !explored.names.has(name))).toEqual([]); }); });