From a790ca3b17030fb8c5731a8dc22f90f78d116360 Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Wed, 3 Jun 2026 09:28:51 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=AA=20Add=20unit=20test=20for=20Dashbo?= =?UTF-8?q?ardStatsPage?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: is0692vs <135803462+is0692vs@users.noreply.github.com> --- src/app/dashboard/stats/page.test.tsx | 14 ++++++++++++++ vitest.config.ts | 1 + 2 files changed, 15 insertions(+) create mode 100644 src/app/dashboard/stats/page.test.tsx diff --git a/src/app/dashboard/stats/page.test.tsx b/src/app/dashboard/stats/page.test.tsx new file mode 100644 index 00000000..4ff4015f --- /dev/null +++ b/src/app/dashboard/stats/page.test.tsx @@ -0,0 +1,14 @@ +import { describe, it, expect, vi } from 'vitest'; +import { render, screen } from '@testing-library/react'; +import DashboardStatsPage from './page'; + +vi.mock('@/components/DashboardStatsClient', () => ({ + default: () =>