Skip to content

Commit 930df7b

Browse files
committed
test(spec): exclude the moved SDUI base-prop pin from the visibility-alias walk (#25712)
The ported base-props-one-list-11044 test gives every SDUI base prop a well-typed value, `visibleOn` included: the parser tier still accepts the deprecated key on every node (SDUI_BASE_PROPS). Under ui/ the walk never reached it; under packages/ the visibility-alias retirement walk reads it as a spec authoring. The file's job is to spell the key, so it joins the walk's structural exclusions beside the other "the key is still read here" pins. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01A6SEitNngAMugGbuJHWsDS
1 parent 1951e86 commit 930df7b

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎packages/spec/src/ui/visibility-alias-keys-retirement.test.ts‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,10 @@ describe('tree-scoped absence: nothing inside the declared radius still authors
250250
'packages/spec/src/ui/component.test.ts',
251251
// The view write door's generic moved-key projection, modelled on the old fold.
252252
'packages/metadata-protocol/src/protocol.project-storable-view-body.test.ts',
253+
// The SDUI parser tier's base-prop list (`SDUI_BASE_PROPS`) still accepts the
254+
// deprecated `visibleOn` on every node; this pin gives each member a
255+
// well-typed value (moved in from the renderer's copy by #25712).
256+
'packages/sdui-parser/src/__tests__/base-props-one-list-11044.test.ts',
253257
]);
254258
const EXCLUDED_PREFIXES = [
255259
// The D2 conversions' fixtures and the stored-row replay pins author the pre-18 shapes on purpose.

0 commit comments

Comments
 (0)