同步 sgs-frontend-mobile 源码
Some checks failed
CI / verify (push) Has been cancelled

This commit is contained in:
lyf
2026-07-27 11:26:01 +08:00
parent 575dca430f
commit 9ea1bfab71
181 changed files with 24395 additions and 5212 deletions

View File

@@ -16,8 +16,13 @@ const poi = (id: string, name: string, floorLabel = '1F', hallName?: string): Mu
describe('VisitorPoiPresentation', () => {
it.each([
['展厅 7生态厅', '生态厅'],
['男卫生间00', '男卫生间 00'],
['贵宾卫生间', '贵宾卫生间']
['男卫生间00', '男卫生间'],
['贵宾卫生间', '贵宾卫生间'],
['L1 K电梯', '电梯'],
['L1_H_楼梯23', '楼梯'],
['L1_导览屏_02', '导览屏'],
['B2_A_无障碍卫生间02', '无障碍卫生间'],
['L1 Cinema', 'Cinema']
])('规范游客展示名 %s', (rawName, displayName) => {
const result = createVisitorPoiPresentations([poi('p1', rawName)])
expect(result.get('p1')?.displayName).toBe(displayName)