增加站内信未读提醒和后台通知中心+txt 校验

This commit is contained in:
yml2213
2026-06-19 15:24:15 +08:00
parent 8d5094a8d0
commit a4cdc3e806
30 changed files with 1836 additions and 53 deletions
@@ -0,0 +1,10 @@
import { describe, expect, it } from 'vitest'
import { getMobilePath, getPcPath } from '../mobileHost'
describe('mobileHost path mapping', () => {
it('maps notification routes between PC and mobile views', () => {
expect(getMobilePath('/notifications')).toBe('/m/notifications')
expect(getPcPath('/m/notifications')).toBe('/notifications')
})
})