Skip to content

Add tests and CI#33

Merged
GeiserX merged 1 commit intomainfrom
chore/add-tests
Apr 11, 2026
Merged

Add tests and CI#33
GeiserX merged 1 commit intomainfrom
chore/add-tests

Conversation

@GeiserX
Copy link
Copy Markdown
Owner

@GeiserX GeiserX commented Apr 11, 2026

Add vitest tests with CI workflow and coverage.

Add 9 test files (58 tests) covering lib utilities, API routes,
scrapers, middleware, types, and translations. Add vitest + v8
coverage, integrate test job into CI workflow, and add codecov badge.
@GeiserX GeiserX merged commit 3dd5a74 into main Apr 11, 2026
1 of 2 checks passed
@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Apr 11, 2026

Warning

Rate limit exceeded

@GeiserX has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 12 minutes and 39 seconds before requesting another review.

Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 12 minutes and 39 seconds.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: a0f690b0-820f-4e00-8ee1-f612734c7066

📥 Commits

Reviewing files that changed from the base of the PR and between 3f2c794 and 5b8c2db.

⛔ Files ignored due to path filters (1)
  • package-lock.json is excluded by !**/package-lock.json, !**/package-lock.json
📒 Files selected for processing (13)
  • .github/workflows/ci.yml
  • README.md
  • package.json
  • src/app/api/exchange-rates/route.test.ts
  • src/lib/brand.test.ts
  • src/lib/config.test.ts
  • src/lib/og-translations.test.ts
  • src/lib/photon.test.ts
  • src/lib/valhalla.test.ts
  • src/middleware.test.ts
  • src/scrapers/spain.test.ts
  • src/types/fuel.test.ts
  • vitest.config.ts
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/add-tests

Comment @coderabbitai help to get the list of available commands and usage tips.

@GeiserX GeiserX deleted the chore/add-tests branch April 11, 2026 13:30
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