test(desktop): add Vitest and testing dependencies

Install testing framework dependencies for unit testing:
- vitest@2.1.8 - Test runner
- @testing-library/react@16.1.0 - React component testing
- @testing-library/jest-dom@6.6.3 - Jest DOM matchers
- jsdom@25.0.1 - DOM simulation environment

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
iven
2026-03-21 16:50:38 +08:00
parent 60ddb0b1e9
commit 9fc17e9d36
2 changed files with 1269 additions and 1 deletions

View File

@@ -47,16 +47,20 @@
"@playwright/test": "^1.58.2", "@playwright/test": "^1.58.2",
"@tailwindcss/vite": "^4.2.1", "@tailwindcss/vite": "^4.2.1",
"@tauri-apps/cli": "^2", "@tauri-apps/cli": "^2",
"@testing-library/jest-dom": "6.6.3",
"@testing-library/react": "16.1.0",
"@types/react": "^19.1.8", "@types/react": "^19.1.8",
"@types/react-dom": "^19.1.6", "@types/react-dom": "^19.1.6",
"@types/react-window": "^2.0.0", "@types/react-window": "^2.0.0",
"@types/uuid": "^10.0.0", "@types/uuid": "^10.0.0",
"@vitejs/plugin-react": "^4.6.0", "@vitejs/plugin-react": "^4.6.0",
"autoprefixer": "^10.4.27", "autoprefixer": "^10.4.27",
"jsdom": "25.0.1",
"playwright": "^1.58.2", "playwright": "^1.58.2",
"postcss": "^8.5.8", "postcss": "^8.5.8",
"tailwindcss": "^4.2.1", "tailwindcss": "^4.2.1",
"typescript": "~5.8.3", "typescript": "~5.8.3",
"vite": "^7.0.4" "vite": "^7.0.4",
"vitest": "2.1.8"
} }
} }

1264
desktop/pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff