Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions src/sections/custom_properties/custom_properties.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
});
});
Loading