mirror of
https://github.com/johndoe6345789/snippet-pastebin.git
synced 2026-04-24 21:44:54 +00:00
- Install Jest, @testing-library/react, and related dependencies - Create jest.config.ts and jest.setup.ts configuration - Generate unit tests for all 141 React components (1 per component) - Tests cover UI components, app pages, features, and utilities - 232 tests currently passing with proper assertions - Add test scripts for running unit tests (npm test) Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
60 lines
1.5 KiB
JSON
60 lines
1.5 KiB
JSON
{
|
|
"name": "codesnippet",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "next dev",
|
|
"build": "next build",
|
|
"start": "next start",
|
|
"lint": "next lint",
|
|
"test": "jest",
|
|
"test:e2e": "playwright test",
|
|
"test:e2e:ui": "playwright test --ui",
|
|
"test:e2e:debug": "playwright test --debug",
|
|
"test:unit": "jest --watch"
|
|
},
|
|
"dependencies": {
|
|
"@babel/standalone": "^7.24.0",
|
|
"@monaco-editor/react": "^4.6.0",
|
|
"@phosphor-icons/react": "^2.1.7",
|
|
"@reduxjs/toolkit": "^2.5.0",
|
|
"class-variance-authority": "^0.7.0",
|
|
"framer-motion": "^11.15.0",
|
|
"idb": "^8.0.2",
|
|
"lucide-react": "^0.294.0",
|
|
"monaco-editor": "^0.52.2",
|
|
"next": "15.1.3",
|
|
"pyodide": "^0.23.0",
|
|
"react": "^19.0.0",
|
|
"react-dom": "^19.0.0",
|
|
"react-error-boundary": "^4.0.11",
|
|
"react-redux": "^9.2.0",
|
|
"recharts": "^2.15.0",
|
|
"sonner": "^1.7.1",
|
|
"sucrase": "^3.35.0"
|
|
},
|
|
"devDependencies": {
|
|
"@playwright/test": "^1.49.1",
|
|
"@testing-library/jest-dom": "^6.1.5",
|
|
"@testing-library/react": "^14.1.2",
|
|
"@testing-library/user-event": "^14.5.1",
|
|
"@types/jest": "^29.5.11",
|
|
"@types/node": "^20",
|
|
"@types/react": "^19",
|
|
"@types/react-dom": "^19",
|
|
"autoprefixer": "^10.4.17",
|
|
"eslint": "^8",
|
|
"eslint-config-next": "15.1.3",
|
|
"jest": "^29.7.0",
|
|
"jest-environment-jsdom": "^29.7.0",
|
|
"postcss": "^8.4.35",
|
|
"sass": "^1.83.4",
|
|
"ts-node": "^10.9.2",
|
|
"typescript": "^5"
|
|
},
|
|
"overrides": {
|
|
"react": "^19.0.0",
|
|
"react-dom": "^19.0.0"
|
|
}
|
|
}
|