Skip to content

Commit 49b9a99

Browse files
hotlongclaude
andcommitted
test(plugin-detail): drop the authored-tabs-slot pin the slots.tabs retirement on main made dead
main retired `slots.tabs` (#27219) and pins the stray-slot case itself ("reads no `tabs` slot"); this branch's case that a `discussion` slot beside an authored `tabs` slot stays under the strip pins a path that no longer exists. The timeline-stream `discussion` slot stays pinned by "discussion slot overrides even when hideDiscussion is true". Claude-Session: https://claude.ai/code/session_cdb7a717def74e719988f089fbaa18ff Co-Authored-By: Claude <noreply@anthropic.com>
1 parent c9f2290 commit 49b9a99

1 file changed

Lines changed: 0 additions & 11 deletions

File tree

‎ui/packages/plugin-detail/src/synth/__tests__/buildDefaultPageSchema.test.ts‎

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -551,17 +551,6 @@ describe('buildDefaultPageSchema', () => {
551551
expect(timeline.children).toEqual([{ type: 'div', id: 'custom-discussion' }]);
552552
});
553553

554-
it('a discussion slot beside an authored tabs slot stays under the strip', () => {
555-
const page = buildDefaultPageSchema(leadDef, {
556-
slots: {
557-
tabs: { type: 'page:tabs', items: [] },
558-
discussion: { type: 'div', id: 'custom-discussion' },
559-
},
560-
});
561-
const components = page.regions[0].components;
562-
expect(components[components.length - 1].id).toBe('custom-discussion');
563-
});
564-
565554
it('omitted slots fall through to synth defaults', () => {
566555
const page = buildDefaultPageSchema(leadDef, {
567556
slots: { header: { type: 'div', id: 'h' } },

0 commit comments

Comments
 (0)