This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user