提交一次全量代码

This commit is contained in:
andy
2026-07-09 11:59:34 +08:00
parent 855396e553
commit 9fa608f602
58 changed files with 8439 additions and 116 deletions

View File

@@ -32,9 +32,10 @@ describe('ReservationStatusBadge', () => {
expect(wrapper.classes()).toContain('status-badge--info')
})
it('falls back to the raw code for unknown status', () => {
it('falls back to a localized unknown status label', () => {
const wrapper = mountWithI18n('UNKNOWN_STATUS')
expect(wrapper.text()).toContain('UNKNOWN_STATUS')
expect(wrapper.text()).toContain('未知状态')
expect(wrapper.text()).not.toContain('UNKNOWN_STATUS')
})
})