Merge branch 'release/test' of http://8.163.30.128:10082/html/client-web into release/test

This commit is contained in:
2026-08-13 09:48:52 +08:00
13 changed files with 271 additions and 8 deletions
+5
View File
@@ -62,6 +62,10 @@ test('keeps only implemented navigation groups visible', () => {
children: ['企业资料', '企业成员', '角色管理', '菜单权限'],
},
{ title: '我的信息', children: undefined },
{
title: '消息中心',
children: ['我的消息'],
},
],
)
})
@@ -89,6 +93,7 @@ test('flattens visible leaves with unique paths', () => {
'/organization/roles',
'/organization/permissions',
'/account/profile',
'/notifications',
])
assert.equal(new Set(paths).size, paths.length)
assert.ok(leaves.every((leaf) => leaf.permission.trim().length > 0))