feat: add home page and refactor workspace entry UI
This commit is contained in:
14
tests/unit/home/default-route.test.ts
Normal file
14
tests/unit/home/default-route.test.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
import { describe, expect, it } from 'vitest'
|
||||
import {
|
||||
AUTHENTICATED_HOME_PATHNAME,
|
||||
buildAuthenticatedHomeTarget,
|
||||
} from '@/lib/home/default-route'
|
||||
|
||||
describe('authenticated home default route', () => {
|
||||
it('uses /home as the only authenticated default pathname', () => {
|
||||
expect(AUTHENTICATED_HOME_PATHNAME).toBe('/home')
|
||||
expect(buildAuthenticatedHomeTarget()).toEqual({
|
||||
pathname: '/home',
|
||||
})
|
||||
})
|
||||
})
|
||||
Reference in New Issue
Block a user