chore: root cleanup

This commit is contained in:
LukeGus
2026-07-17 00:20:46 -05:00
parent 2453545b9c
commit 82662c327c
57 changed files with 57 additions and 187 deletions
-3
View File
@@ -1,8 +1,5 @@
import { afterEach, vi } from "vitest";
// jsdom does not implement matchMedia; provide a minimal stub so hooks that
// read media queries (e.g. useIsMobile) can run. Individual tests override
// window.innerWidth / matchMedia as needed.
if (typeof window !== "undefined" && !window.matchMedia) {
window.matchMedia = vi.fn().mockImplementation((query: string) => ({
matches: false,