tests: add Heart icon and Tooltip mock to Sidebar tests

This commit is contained in:
SergeantPanda 2026-03-27 15:14:04 -05:00
parent c29deeb007
commit 3ee925ca71

View file

@ -56,6 +56,7 @@ vi.mock('lucide-react', () => ({
ChevronRight: () => <div data-testid="chevron-right-icon" />,
MonitorCog: () => <div data-testid="monitor-cog-icon" />,
Blocks: () => <div data-testid="blocks-icon" />,
Heart: () => <div data-testid="heart-icon" />,
}));
// Mock UserForm component
@ -114,6 +115,7 @@ vi.mock('@mantine/core', async () => {
</nav>
),
ScrollArea: ({ children }) => <div>{children}</div>,
Tooltip: ({ children }) => <>{children}</>,
};
});