Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add vitest coverage #175

Merged
merged 7 commits into from
Feb 16, 2025
Merged

feat: add vitest coverage #175

merged 7 commits into from
Feb 16, 2025

Conversation

remcolakens
Copy link
Owner

Context

For some projects, it is required to view the front-end test coverage. This PR sets up all the necessary tooling for this.

Changes

  • Added: @vitest/coverage and @vitest/ui
  • Configured Vitest with some good defaults
  • Added: missing unit tests to improve test coverage

Screenshot

Screenshot 2025-02-09 at 19 23 42

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have tested my code for breaking changes and added the corresponding footer in this PR if needed
  • I have added tests that prove my fix is effective or that my feature works

Copy link

vercel bot commented Feb 9, 2025

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

Name Status Preview Comments Updated (UTC)
next-boilerplate ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 16, 2025 7:56pm

@remcolakens remcolakens merged commit a6731ed into main Feb 16, 2025
7 checks passed
@remcolakens remcolakens deleted the feat/add-vitest-coverage branch February 16, 2025 19:57
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