Skip to content

Commit 48f071b

Browse files
Merge pull request #168 from DalgoT4D/cleanup/deleting-unused-code
Cleanup/deleting unused code
2 parents 69f8123 + 100b3e1 commit 48f071b

71 files changed

Lines changed: 102 additions & 12780 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CLAUDE.md

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,6 @@ npm run test # Run Jest unit tests
1919
npm run test:watch # Run tests in watch mode
2020
npm run test:coverage # Generate coverage report
2121
npm run test:ci # Run tests in CI mode with coverage
22-
npm run test:e2e # Run Playwright E2E tests
23-
npm run test:e2e:ui # Run E2E tests with UI
24-
npm run test:e2e:debug # Debug E2E tests
25-
npm run test:e2e:headed # Run E2E tests in headed mode
2622

2723
# Code Quality
2824
npm run lint # Run ESLint linting
@@ -41,7 +37,7 @@ npm run format:write # Format code and auto-stage changes
4137
- **UI Components**: Radix UI headless components with custom styling
4238
- **Charts**: Multi-library approach (ECharts, Nivo, Recharts)
4339
- **Forms**: React Hook Form with validation
44-
- **Testing**: Jest + React Testing Library + Playwright
40+
- **Testing**: Jest + React Testing Library
4541
- **Development**: Turbopack for fast builds, Husky for Git hooks
4642

4743
### Directory Structure
@@ -135,7 +131,6 @@ const MyComponent = ({ variant = 'default', ...props }) => {
135131
#### Testing Setup
136132
- **Jest Configuration**: Custom setup with module name mapping for path aliases
137133
- **Coverage Collection**: Includes components, app, lib, hooks, and stores directories
138-
- **E2E Testing**: Playwright configured for comprehensive end-to-end testing
139134
- **Component Testing**: React Testing Library with jsdom environment
140135

141136
#### Environment & API
@@ -192,16 +187,11 @@ const MyComponent = ({ variant = 'default', ...props }) => {
192187
- Mock API calls using SWR's testing utilities
193188
- Focus on logic and edge cases rather than implementation details
194189

195-
### Component Tests
190+
### Component Tests
196191
- Use React Testing Library for user-centric testing
197192
- Test component behavior and user interactions
198193
- Mock complex dependencies like chart libraries
199194

200-
### E2E Tests
201-
- Use Playwright for full user journey testing
202-
- Test critical paths like authentication and dashboard creation
203-
- Ensure cross-browser compatibility
204-
205195
## Common Gotchas
206196

207197
- **TypeScript strict mode disabled**: Be extra careful with type checking

components/charts/ChartCard.tsx

Lines changed: 0 additions & 90 deletions
This file was deleted.

components/charts/ChartMetadata.tsx

Lines changed: 0 additions & 29 deletions
This file was deleted.

components/charts/ChartThumbnailPreview.tsx

Lines changed: 0 additions & 184 deletions
This file was deleted.

0 commit comments

Comments
 (0)