11 lines
360 B
TypeScript
11 lines
360 B
TypeScript
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')
|
|
})
|
|
})
|