From 5d4231ec07ac11c56fbb2f8fd749b556213b7d84 Mon Sep 17 00:00:00 2001 From: Vivswan Shah <58091053+Vivswan@users.noreply.github.com> Date: Mon, 21 Sep 2026 19:48:50 -0400 Subject: [PATCH] test(custom_properties): drop the case the contract tests already pin The read-port shape case restates the endpoint table at runtime; the canonical read-port case in the contract tests pins the port's derivation for every section. The keep-note case stays: its note assertion is the only pin of the section's undeclared action wording. The convergence twin stays: its final-state assertion is the only pin that an unset property leaves the mock's value list. Test-only; no source changes. --- src/sections/custom_properties/custom_properties.test.ts | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/sections/custom_properties/custom_properties.test.ts b/src/sections/custom_properties/custom_properties.test.ts index 7804aaf3..15253574 100644 --- a/src/sections/custom_properties/custom_properties.test.ts +++ b/src/sections/custom_properties/custom_properties.test.ts @@ -232,13 +232,4 @@ describe("custom_properties", () => { { property_name: "team", value: "platform" }, ]); }); - - test("the read port exposes the org probe in its absent posture and the values GET, never the PATCH", () => { - const ctx = planContext(customPropertiesSection, new MockApi({}), REPO); - expect(Object.keys(ctx.read)).toEqual(["org", "list"]); - // @ts-expect-error a write role is not a read: the port has no `update` - ctx.read.update; - // @ts-expect-error an "absent" primary read offers no throwing helper - ctx.read.org.call; - }); });