import DemoAvatarDropdownMenu from '@/components/demo/DemoAvatarDropdownMenu.vue'; import { mount } from '@vue/test-utils'; describe('DemoAvatarDropdownMenu', () => { it('should render correctly and trigger actions', async () => { const warnSpy = vi.spyOn(console, 'warn').mockImplementation(() => {}); const onFilesDropped = vi.fn(); const wrapper = mount(DemoAvatarDropdownMenu, { props: { onFilesDropped, }, }); expect(wrapper.exists()).toBe(true); warnSpy.mockRestore(); }); });