test: add vitest and testing-library dependencies

This commit is contained in:
2026-04-18 17:32:20 +00:00
parent 2e1a497cdd
commit e5fc1c4d33
2 changed files with 2549 additions and 407 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -6,7 +6,10 @@
"dev": "next dev", "dev": "next dev",
"build": "next build", "build": "next build",
"start": "next start", "start": "next start",
"lint": "next lint" "lint": "next lint",
"test": "vitest",
"test:ui": "vitest --ui",
"test:coverage": "vitest run --coverage"
}, },
"dependencies": { "dependencies": {
"axios": "^1.15.0", "axios": "^1.15.0",
@@ -23,13 +26,20 @@
"tesseract.js": "^7.0.0" "tesseract.js": "^7.0.0"
}, },
"devDependencies": { "devDependencies": {
"@testing-library/jest-dom": "^6.0.0",
"@testing-library/react": "^14.0.0",
"@testing-library/user-event": "^14.0.0",
"@types/node": "^20", "@types/node": "^20",
"@types/react": "^19", "@types/react": "^19",
"@types/react-dom": "^19", "@types/react-dom": "^19",
"@vitejs/plugin-react": "^4.0.0",
"@vitest/ui": "^1.0.0",
"eslint": "^9", "eslint": "^9",
"eslint-config-next": "15.0.0", "eslint-config-next": "15.0.0",
"jsdom": "^23.0.0",
"postcss": "^8", "postcss": "^8",
"tailwindcss": "^3.4.1", "tailwindcss": "^3.4.1",
"typescript": "^5" "typescript": "^5",
"vitest": "^1.0.0"
} }
} }