-
Notifications
You must be signed in to change notification settings - Fork 0
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
test: add tests for cleanup functions #7
test: add tests for cleanup functions #7
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the PR @GovardhaneNitin!
This looks almost ready to merge, however, per my comment on your other PR here, this project conforms to StandardJS for its formatting. We don't have this enforced yet (that's issue #5).
Could you please revert all your changes to the formatting (e.g. back to single quotes and no semi-colons)?
@taoeffect I've reverted all the formatting changes to conform to StandardJS (single quotes and no semicolons). Please let me know if any further adjustments are needed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You didn't make any changes... the same issue persists. Are you an AI?
Sorry, it was the mistake of my IDE. I'm not an AI 😄. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Beautiful PR, thank you!
I'm not an AI 😄
OK I believe you. 😄
Add Tests for Cleanup Functions
This PR adds tests for the cleanup functions in the
on
andonce
methods as requested in the review comments of PR #3.Changes Made
on
works correctly.once
works correctly.These tests have been added to the existing
src/index.test.js
file.Related Issue
Referencing the original PR #3 for context.
Please let me know if any further adjustments are needed.