test(common): add missing test coverage for useLikePlays hook#1711
test(common): add missing test coverage for useLikePlays hook#1711riteshrana12-dev wants to merge 1 commit into
Conversation
👷 Deploy request for reactplayio pending review.Visit the deploys page to approve it
|
There was a problem hiding this comment.
Hey! contributor, thank you for opening a Pull Request 🎉.
@reactplay/maintainers will review your submission soon and give you helpful feedback.
If you're interested in continuing your contributions to open source and want to be a part of a welcoming and fantastic community, we invite you to join our ReactPlay Discord Community.
Show your support by starring ⭐ this repository. Thank you and we appreciate your contribution to open source!
Stale Marking : After 30 days of inactivity this issue/PR will be marked as stale issue/PR and it will be closed and locked in 7 days if no further activity occurs.
|
There hasn't been any activity on this pull request recently, and in order to prioritize active work, it has been marked as stale. This PR will be closed and locked in 7 days if no further activity occurs. Thank you for your contributions! |
I have read the ReactPlay Contributor Guidelines and Discussion
I have reviewed the ReactPlay Code Review Checklist
I have tested my changes locally and verified there are no new warnings or errors
Description
The useLikePlays hook in
src/common/hooks/useLikePlays.jshad incompletetest coverage. Added 3 new test cases to
useLikePlays.test.js:Total tests increased from 4 to 7, all passing.
Fixes #1710
Type of change
How Has This Been Tested?
Ran the test suite with:
npm test -- --watchAll=false --testPathPattern=useLikePlays
Result: 7 passed, 7 total, 0 failures
Linter passes clean with npm run lint:fix.
Checklist: