feat: migrate static pages to native tabbar

This commit is contained in:
2026-04-23 21:25:24 +08:00
parent f3cd0c3a98
commit cd30f57f2c
116 changed files with 7143 additions and 311 deletions

View File

@@ -0,0 +1,12 @@
const { ROUTES } = require('../utils/static-ux/route-map')
describe('static route map', () => {
test('exposes full route paths for all static migration pages', () => {
expect(ROUTES.tabs.home).toBe('/pages/home/index')
expect(ROUTES.tcm.aiHistory).toBe('/packages/tcm/pages/ai-history/index')
expect(ROUTES.tcm.section).toBe('/packages/tcm/pages/section/index')
expect(ROUTES.mingli.hall).toBe('/packages/mingli/pages/hall/index')
expect(ROUTES.mingli.interpret).toBe('/packages/mingli/pages/interpret/index')
expect(ROUTES.learning.center).toBe('/packages/learning/pages/center/index')
})
})