-
Notifications
You must be signed in to change notification settings - Fork 2
Add TODO for allowing emojis in sanitizeCommitMessage test #13
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
Conversation
- Added a TODO comment in the sanitizeCommitMessage.test.js file to indicate that the function should allow emojis in commit messages. - This serves as a reminder to update the test and functionality
- Removed jsdom from package.json as it is no longer needed. - Deleted test fixture files for array object and string utilities. - Removed the test for commit message validation related to test fixtures.
WalkthroughThis change set removes several test fixture files, related utility functions, and their corresponding tests. It also deletes the "jsdom" development dependency from the project configuration. Minor comment updates are made to the commit message sanitization utility and its tests, indicating future intentions to allow emojis. Changes
Poem
✨ Finishing Touches
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
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.
Actionable comments posted: 0
🧹 Nitpick comments (2)
utils/sanitizeCommitMessage.js (1)
1-1: Enhance TODO with issue reference for traceability.The standalone TODO is a good reminder, but consider including a ticket or issue number and using the project’s TODO convention (e.g.,
// TODO(v2.0.0): allow emojis (see #123)) to improve visibility and tracking.utils/sanitizeCommitMessage.test.js (1)
45-45: Standardize TODO format and link to tracking.This TODO helps note future emoji support, but please align it with the repository’s TODO style and add an issue reference so that the work can be easily located and prioritized.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
⛔ Files ignored due to path filters (1)
pnpm-lock.yamlis excluded by!**/pnpm-lock.yaml
📒 Files selected for processing (9)
package.json(0 hunks)test/commit-message-fixtures.test.js(0 hunks)test/fixtures/array/chunk.js(0 hunks)test/fixtures/object/pick.js(0 hunks)test/fixtures/string/camelCase.js(0 hunks)utils/sanitizeCommitMessage.js(1 hunks)utils/sanitizeCommitMessage.test.js(1 hunks)utils/validateTestFixtureCommitMessage.js(0 hunks)utils/validateTestFixtureCommitMessage.test.js(0 hunks)
💤 Files with no reviewable changes (7)
- package.json
- test/fixtures/object/pick.js
- test/fixtures/array/chunk.js
- utils/validateTestFixtureCommitMessage.js
- test/fixtures/string/camelCase.js
- utils/validateTestFixtureCommitMessage.test.js
- test/commit-message-fixtures.test.js
Summary by CodeRabbit