* adds components test setup

* add some ui tests
This commit is contained in:
tmshv authored and GitHub committed 2026-02-08 03:49:06 +07:00
1 parent 7cce0bedb7
commit 79ab798f12
8 files changed
+496

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
import "@testing-library/jest-dom/vitest"
import { vi } from "vitest"
vi.mock("next/link", () => ({
__esModule: true,
default: ({ href, children, ...props }: any) => (
<a href={href} {...props}>{children}</a>
),
}))