Skip to content

Commit ff79453

Browse files
committed
test(studio): the menu search fixture carries its tier
Claude-Session: https://claude.ai/code/session_01QSeKYniqTW93usTV1hShjE Co-authored-by: Claude <noreply@anthropic.com>
1 parent b5b0f6a commit ff79453

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎ui/packages/app-shell/src/views/studio-design/studioMenuModel.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ describe('the current entry (aria-current)', () => {
280280
});
281281

282282
describe('the menu search', () => {
283-
const entry = { key: 'type:permission', kind: 'type' as const, type: 'permission', to: '/' };
283+
const entry = { key: 'type:permission', kind: 'type' as const, type: 'permission', to: '/', tier: 'common' as const };
284284
it('matches the label or the machine name, case-insensitive; an empty query matches all', () => {
285285
expect(studioMenuEntryMatches(entry, 'Permission Sets', 'sets')).toBe(true);
286286
expect(studioMenuEntryMatches(entry, '权限集', 'PERMISSION')).toBe(true);

0 commit comments

Comments
 (0)