feat: migrate static pages to native tabbar
This commit is contained in:
12
tests/static-ux-route-map.test.js
Normal file
12
tests/static-ux-route-map.test.js
Normal 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')
|
||||
})
|
||||
})
|
||||
Reference in New Issue
Block a user