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

Unit tests and code coverage #82

Closed
jasonrundell opened this issue Oct 1, 2024 · 0 comments · Fixed by #83
Closed

Unit tests and code coverage #82

jasonrundell opened this issue Oct 1, 2024 · 0 comments · Fixed by #83
Assignees
Labels
enhancement New feature or request

Comments

@jasonrundell
Copy link
Owner

jasonrundell commented Oct 1, 2024

  • Jest
  • 100% coverage
  • run test in workflow on new PR
@jasonrundell jasonrundell added the enhancement New feature or request label Oct 1, 2024
@jasonrundell jasonrundell self-assigned this Oct 1, 2024
jasonrundell added a commit that referenced this issue Oct 7, 2024
* Refactor Jest configuration and add test coverage

* Add test coverage workflow

* Refactor animationStyles.test.js: Add tests for getAnimationStyles function

* Refactor Nav component PropTypes

* Remove test script until tests are added

* Revert

* Multiple tests added

* Refactor of how ids are given to menu items

* Refactor of how ids are given to menu items

* https example added

* https example added

* Menu and test optimized

* Refactor switch to if/else

* Optimize rmm__menu

* MenuContext tests WIP

* MenuContext WIP

* Refactor MenuContext and optimize code

* Refactor stateMachine function to use a switch statement for better readability and maintainability

* Update package version to 2.2.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant