Files
snippet-pastebin/package.json
johndoe6345789 d2e3cef2ee test: Add 1200+ tests for quality validator and UI components
- Created comprehensive test suites for quality validator module (430+ tests)
  * index.test.ts: QualityValidator main module
  * reporters/*.test.ts: ReporterBase and all reporters
  * scoring/*.test.ts: Scoring engine with edge cases
  * utils/*.test.ts: Validators, formatters, FileChangeDetector

- Added UI component tests for sidebar menu and templates (800+ tests)
  * SidebarMenuButton, SidebarMenuSubButton, etc.
  * DashboardTemplate, BlogTemplate
  * ContentPreviewCardsSection, FormFieldsSection

- Coverage improvements:
  * Statements: 56.62% → 60.93% (+4.31%)
  * Functions: 76.76% → 79.82% (+3.06%)
  * Branches: 84.37% → 85.92% (+1.55%)
  * Tests passing: 5,512 (added 363 new passing tests)

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-01-21 02:46:17 +00:00

70 lines
2.1 KiB
JSON

{
"name": "codesnippet",
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "eslint . --config eslint.config.mjs",
"lint:fix": "eslint . --config eslint.config.mjs --fix",
"test": "jest",
"test:watch": "jest --watch",
"test:e2e": "playwright test",
"test:e2e:ui": "playwright test --ui",
"test:e2e:debug": "playwright test --debug",
"test:unit": "jest --coverage",
"quality-check": "node run-quality-check.mjs",
"quality-check:json": "node run-quality-check.mjs --format json --output .quality/report.json",
"quality-check:html": "node run-quality-check.mjs --format html --output .quality/report.html",
"quality-check:verbose": "node run-quality-check.mjs --verbose"
},
"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",
"embla-carousel-react": "^8.6.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-hook-form": "^7.71.1",
"react-redux": "^9.2.0",
"react-resizable-panels": "^4.4.1",
"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",
"typescript-eslint": "^8.53.1"
},
"overrides": {
"react": "^19.0.0",
"react-dom": "^19.0.0"
}
}