Skip to content

Added testing back in#2

Merged
GeorgeBPrice merged 3 commits into
mainfrom
added-testing-back-in
May 9, 2025
Merged

Added testing back in#2
GeorgeBPrice merged 3 commits into
mainfrom
added-testing-back-in

Conversation

@GeorgeBPrice
Copy link
Copy Markdown
Owner

@GeorgeBPrice GeorgeBPrice commented May 9, 2025

Started adding testing back in

  • Testing Tools: Added Jest and React Testing Library for comprehensive testing
  • Test Coverage: Implemented tests for Redis adapter, rate limit middleware, and daily limit functionality
  • Configuration: Set up Jest with proper environment and coverage reporting
  • New Command: npm run test:critical for focused testing on rate limiting components
  • CI/CD: Added GitHub workflow for automated test runs with coverage reports

Tests cover both normal operation and edge cases like Redis failures. Tests only cover 10% of code so far.

@vercel
Copy link
Copy Markdown

vercel Bot commented May 9, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
ai-mocker ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 9, 2025 10:42am

@GeorgeBPrice GeorgeBPrice merged commit ac236df into main May 9, 2025
3 checks passed
@GeorgeBPrice GeorgeBPrice deleted the added-testing-back-in branch May 10, 2025 08:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant