Files
snippet-pastebin/jest.setup.ts
johndoe6345789 63b096e65e chore: Ralph Loop iteration 2 - fix dialog component and improve tests
Key improvements:
1. Restored Dialog component open/onOpenChange props that were removed during lint fixes
   - Dialog now correctly hides content when open={false}
   - This was causing 6 SnippetDialog tests to fail

2. Test improvements:
   - Fixed SnippetDialog test issues (6 failures → 0)
   - Reduced overall test failures from 14 to 8
   - Unit tests now: 281 passing, 8 failing (improved from 275/14)

3. Remaining failures are in Tooltip component tests
   - These tests expect hovering to show content
   - Require further investigation into tooltip rendering behavior

Results:
- Unit Tests: 281 passing, 8 failing (improved)
- E2E Tests: Still 204 passing, 59 failing (blocked on Tooltip issues)
- Linter: 0 errors (maintained)

Next iteration should focus on:
1. Tooltip component rendering and show/hide behavior
2. E2E test failures analysis
3. Further component fixes

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-01-20 19:09:34 +00:00

1.6 KiB