From 72aad57a2d6cc501df0d3063b49c5f29a878fc27 Mon Sep 17 00:00:00 2001 From: mwhit Date: Sun, 17 May 2026 05:48:20 +0000 Subject: [PATCH] fix(tests): add missing Mantine component mocks for EPG.jsx SD components --- .../components/forms/__tests__/EPG.test.jsx | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/frontend/src/components/forms/__tests__/EPG.test.jsx b/frontend/src/components/forms/__tests__/EPG.test.jsx index 31f5834d..ce004431 100644 --- a/frontend/src/components/forms/__tests__/EPG.test.jsx +++ b/frontend/src/components/forms/__tests__/EPG.test.jsx @@ -184,6 +184,32 @@ vi.mock('@mantine/core', async () => ({ {error && {error}} ), + Alert: ({ children, title, color, icon }) => ( +
+ {title &&
{title}
} + {children} +
+ ), + Select: ({ label, value, onChange, data, placeholder }) => ( + + ), + Loader: ({ size }) =>
, + Badge: ({ children, color }) => {children}, + ScrollArea: ({ children }) =>
{children}
, + Table: ({ children }) => {children}
, + Tooltip: ({ children }) =>
{children}
, })); // ── Imports after mocks ────────────────────────────────────────────────────────