Skip to content

test: add frontend test setup with Vitest#655

Open
Abhishek-YS wants to merge 1 commit into
parthbuilds-community:mainfrom
Abhishek-YS:frontend-test-setup
Open

test: add frontend test setup with Vitest#655
Abhishek-YS wants to merge 1 commit into
parthbuilds-community:mainfrom
Abhishek-YS:frontend-test-setup

Conversation

@Abhishek-YS

Copy link
Copy Markdown

Summary

  • Added Vitest with jsdom configuration
  • Added React Testing Library, jest-dom, and user-event
  • Added frontend test script
  • Added starter utility tests for healthUtils
  • Added starter component test for FitnessChatBot
  • Added browser API mocks for the test environment
  • Updated GitHub Actions workflow to run frontend tests in CI

Testing

npm test -- --run

@github-actions github-actions Bot added bug Something isn't working enhancement New feature or request refactor Improve code without changing functionality UI UI-related improvements including layouts, responsiveness, styling, animations, and UX enhancements. frontend devops labels Jun 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working devops enhancement New feature or request frontend refactor Improve code without changing functionality UI UI-related improvements including layouts, responsiveness, styling, animations, and UX enhancements.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant