[cs frontend] vitest로 된 Vitest + React Testing Library 기반 단위/통합 테스트 코드 작성

This commit is contained in:
2026-07-09 14:10:48 +09:00
parent 993a9f4ff2
commit 8b3fa32d1e
10 changed files with 1080 additions and 28 deletions
+9 -1
View File
@@ -8,6 +8,8 @@
"start": "next start",
"lint": "next lint",
"test:playwright": "playwright test",
"test:unit": "vitest run",
"test:unit:watch": "vitest",
"test:playwright:ui": "playwright test --ui"
},
"dependencies": {
@@ -54,17 +56,23 @@
"devDependencies": {
"@eslint/eslintrc": "^3.0.0",
"@playwright/test": "^1.61.1",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.2",
"@types/js-cookie": "^3.0.6",
"@types/node": "^22.13.1",
"@types/webpack": "^5.28.5",
"@vitejs/plugin-react": "^4.7.0",
"eslint": "^9.0.0",
"eslint-config-next": "15.3.8",
"eslint-plugin-react-hooks": "^5.2.0",
"jsdom": "^29.1.1",
"postcss": "^8.4.49",
"prettier": "^3.4.2",
"prettier-plugin-tailwindcss": "^0.6.11",
"steiger": "^0.5.5",
"tailwindcss": "^3.4.14",
"typescript": "^5.7.2"
"typescript": "^5.7.2",
"vite-tsconfig-paths": "5.1.4",
"vitest": "^4.1.10"
}
}