Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

test: drop unused chart mock helper (#12951)

[._.]/ Adam Eivyeacf60ec557e
diff --git a/client/src/components/meatspace/AlcoholChart.test.jsx b/client/src/components/meatspace/AlcoholChart.test.jsx
index 3302f4ecb5..ad293b9933 100644
--- a/client/src/components/meatspace/AlcoholChart.test.jsx
+++ b/client/src/components/meatspace/AlcoholChart.test.jsx
@@ -5,7 +5,6 @@ vi.mock('../../services/api', () => ({ getDailyAlcohol: vi.fn() }));
vi.mock('../../hooks/useChartColors.js', () => ({ default: () => ({ grid: '#000', axis: '#000' }) }));
// Recharts needs layout; a marker stands in for "a chart was drawn".
vi.mock('recharts', () => {
- const Pass = ({ children }) => <div>{children}</div>;
return {
ResponsiveContainer: ({ children }) => <div data-testid="chart">{children}</div>,
BarChart: ({ data }) => <div data-testid="bars" data-n={data.length} />, Bar: () => null, XAxis: () => null, YAxis: () => null,