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: adding unit/ui testing support #462

Merged

Conversation

danditomaso
Copy link
Collaborator

This PR integrates Vitest as our testing framework for React components and unit testing.

  • Added Vitest configuration to our existing Vite setup
  • Installed required dependencies as dev dependencies (vitest, happy-dom, testing-library)
  • Created test utilities for rendering components with context

Copy link
Member

@KomelT KomelT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will testing also be added to CI?

@danditomaso danditomaso requested a review from KomelT February 25, 2025 13:00
@danditomaso
Copy link
Collaborator Author

Will testing also be added to CI?

I wasn't sure if I wanted to add it to CI/CD right away, but lets do that and see how it goes.

@danditomaso danditomaso merged commit 3db2ede into meshtastic:master Feb 26, 2025
3 checks passed
@danditomaso danditomaso deleted the feat/add-support-for-unit-testing branch February 26, 2025 01:01
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.

2 participants