Skip to content

Commit adbb0a5

Browse files
committed
test(rest): the hatch listing pin names the four types this registry lists
Claude-Session: https://claude.ai/code/session_01Bw3y2DWhT9RPnrmDsNqEVG Co-authored-by: Claude <noreply@anthropic.com>
1 parent 0518ea5 commit adbb0a5

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎packages/rest/src/rest-meta-managed-seal-hatch.test.ts‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,9 @@ describe('[ADR-0131 D6] the hatch opens no removal of a managed item at the REST
151151
});
152152

153153
describe('[#22411] the removed spelling OBJECTSTACK_METADATA_WRITABLE is not read: the hatch is shut at the REST door', () => {
154-
const HATCH_TYPES = ['flow', 'object', 'field', 'permission', 'position'] as const;
154+
// The types this registry lists (`field` is named in the variable but is no registered type here:
155+
// its items live inside an object, so the listing carries no entry for it).
156+
const HATCH_TYPES = ['flow', 'object', 'permission', 'position'] as const;
155157
const SHUT = { allowOrgOverride: false, overrideSource: 'registry' };
156158

157159
for (const environmentId of [undefined, 'env_1']) {

0 commit comments

Comments
 (0)