import { describe, expect, it } from 'vitest' import { mount } from '@vue/test-utils' import { createPinia } from 'pinia' import { createMemoryHistory, createRouter } from 'vue-router' import { defineComponent } from 'vue' import OrganizerLayoutV2 from '@/layouts/OrganizerLayoutV2.vue' import AppShellV2 from '@/layouts/components/AppShellV2.vue' // Stub the 3 leaf shell components: this test verifies COMPOSITION // (right component in right slot), not their internals (those have // their own unit tests). Stubs keep jsdom free of PrimeVue teleport/ // overlay/breakpoint machinery. // // Plan 2.5 P4 (AD-2.5-B1): AppSidebar no longer takes a `groups` prop // — SidebarNav reads APP_NAVIGATION from `@/config/navigation` directly. const AppSidebarStub = defineComponent({ name: 'AppSidebarStub', template: '