Description
musicutils.js (js/utils/musicutils.js) has 0% Jest test coverage.
This file contains core music utility functions used throughout
Music Blocks including mode definitions, pitch calculations, and
interval logic. Without coverage, regressions enter production silently.
Expected Behavior
js/tests/musicutils.test.js should exist with Jest tests covering
core functions — mode/scale utilities, pitch calculations, interval
helpers, and exported constants used across the codebase.
How to Reproduce
- Clone the repo
- Run: npm test -- --coverage
- Open coverage report
- Observe that js/utils/musicutils.js shows 0% coverage
Console log Errors:
Not applicable.
Environment:
Operating System: Windows 11
Browser: Chrome
Version of Software/Project: master branch
Checklist
✅ I have read and followed the project's code of conduct.
✅ I have searched for similar issues before creating this one.
✅ I have provided all the necessary information to understand and reproduce the issue.
✅ I am willing to contribute to the resolution of this issue.
Description
musicutils.js (js/utils/musicutils.js) has 0% Jest test coverage.
This file contains core music utility functions used throughout
Music Blocks including mode definitions, pitch calculations, and
interval logic. Without coverage, regressions enter production silently.
Expected Behavior
js/tests/musicutils.test.js should exist with Jest tests covering
core functions — mode/scale utilities, pitch calculations, interval
helpers, and exported constants used across the codebase.
How to Reproduce
Console log Errors:
Not applicable.
Environment:
Operating System: Windows 11
Browser: Chrome
Version of Software/Project: master branch
Checklist
✅ I have read and followed the project's code of conduct.
✅ I have searched for similar issues before creating this one.
✅ I have provided all the necessary information to understand and reproduce the issue.
✅ I am willing to contribute to the resolution of this issue.