Skip to content

Update musicutils.test.js#5831

Open
Aayush-kumar-ctrl wants to merge 1 commit intosugarlabs:masterfrom
Aayush-kumar-ctrl:patch-5
Open

Update musicutils.test.js#5831
Aayush-kumar-ctrl wants to merge 1 commit intosugarlabs:masterfrom
Aayush-kumar-ctrl:patch-5

Conversation

@Aayush-kumar-ctrl
Copy link

Update musicutils.test.js

chore: implement _calculate_pitch_number and getPitchInfo helpers

Added MIDI-based pitch calculation and structured pitch parsing
to musicutils.js. Handles enharmonic equivalents and invalid input.

Update musicutils.test.js

chore: implement _calculate_pitch_number and getPitchInfo helpers

Added MIDI-based pitch calculation and structured pitch parsing
to musicutils.js. Handles enharmonic equivalents and invalid input.
@github-actions
Copy link
Contributor

❌ Some Jest tests failed. Please check the logs and fix the issues before merging.

Failed Tests:

musicutils.test.js

Copy link
Contributor

@vanshika2720 vanshika2720 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Aayush-kumar-ctrl I noticed that this PR adds implementation code (_calculate_pitch_number, getPitchInfo, exports, etc.) inside what appears to be a test file.
Since the PR title mentions updating musicutils.test.js, could you clarify whether this logic is meant to go into musicutils.js instead?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants