new nav system
All checks were successful
ci/woodpecker/pr/pr Pipeline was successful

This commit is contained in:
Madison Grubb
2026-02-14 22:47:05 -05:00
parent 9261ba92bf
commit 4e51ca5509
27 changed files with 1198 additions and 688 deletions

View File

@@ -3,7 +3,7 @@ import { mountSuspended, registerEndpoint } from '@nuxt/test-utils/runtime'
import NavDrawer from '../../app/components/NavDrawer.vue'
const withAuth = () => {
registerEndpoint('/api/me', () => ({ id: '1', identifier: 'user', role: 'member' }), { method: 'GET' })
registerEndpoint('/api/me', () => ({ id: '1', identifier: 'user', role: 'member', avatar_url: null }), { method: 'GET' })
}
describe('NavDrawer', () => {
@@ -32,7 +32,6 @@ describe('NavDrawer', () => {
})
expect(document.body.textContent).toContain('Map')
expect(document.body.textContent).toContain('Settings')
expect(document.body.textContent).toContain('Navigation')
})
it('emits update:modelValue when close is triggered', async () => {