test: component tests with jsdom and Testing Library

First tests cover the library search debounce (fails on the old looping
version), the Pile of Shame states and the backlog save body. jsdom is
enabled per test file, so the plain util tests stay in the node environment.
This commit is contained in:
lobo committed 2026-09-24 12:06:34 +02:00
1 parent c24c22d5ed
commit bad11807e0
6 files changed
+918

No files matched your search

+3
View File
@@ -29,8 +29,11 @@
"zod": "^3.25.76"
},
"devDependencies": {
"@testing-library/dom": "^10.4.2",
"@testing-library/react": "^16.3.3",
"@vitejs/plugin-react": "^6.1.1",
"autoprefixer": "~10.6.1",
"jsdom": "^30.1.1",
"postcss": "~8.5.28",
"tailwindcss": "~4.3.3",
"tw-animate-css": "^1.4.0",