test(svg): export and add tests for deterministicRandom() helper#1937
Conversation
|
@prachimaskar is attempting to deploy a commit to the jhasourav07's projects Team on Vercel. A member of the Team first needs to authorize it. |
|
👋 Hey @prachimaskar, welcome to CommitPulse! 🎉 Thanks for opening your first pull request — this is a big deal and we appreciate the effort! While you wait for a review, please double-check:
A maintainer will review your PR shortly. Hang tight! 🚀 |
Aamod007
left a comment
There was a problem hiding this comment.
Exports deterministicRandom and adds 3 unit tests: same seed returns same value, result in [0, 1), different seeds differ. 113/113 tests pass. Clean.
|
🎉 Congratulations @prachimaskar! Your PR has been successfully merged. 🚀 Thank you for contributing to CommitPulse. Your work helps us build a better tool for the community.
Keep building! 💻✨ |
Description
Fixes #342
Exported the
deterministicRandomhelper function and added 3 unit tests as required by the issue:All 113 tests pass (110 existing + 3 new).
Pillar
Visual Preview
No SVG changes — test-only addition. No visual output is affected.
Checklist before requesting a review:
CONTRIBUTING.mdfile.npm run formatandnpm run lintlocally and resolved all errors.README.mdif I added a new theme or URL parameter.