mirror of
https://git.shipoclu.com/moon/plspace.git
synced 2026-08-13 02:42:30 +00:00
some copy changes
This commit is contained in:
@@ -25,6 +25,7 @@ const ROUTES: RoutePattern[] = [
|
||||
{ name: 'home', pattern: '/' },
|
||||
{ name: 'login', pattern: '/login' },
|
||||
{ name: 'settings', pattern: '/settings' },
|
||||
{ name: 'about', pattern: '/about' },
|
||||
{ name: 'browse', pattern: '/browse' },
|
||||
{ name: 'search', pattern: '/search' },
|
||||
{ name: 'mail', pattern: '/mail' },
|
||||
|
||||
@@ -17,4 +17,11 @@ describe('parseHash', () => {
|
||||
params: { id: 'status/one' },
|
||||
})
|
||||
})
|
||||
|
||||
it('routes the public About page', () => {
|
||||
expect(parseHash('#/about')).toMatchObject({
|
||||
name: 'about',
|
||||
params: {},
|
||||
})
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user