Add tests for MeterBlocks.js
This PR adds Jest tests for MeterBlocks to improve test coverage and assert expected behavior of meter, BPM, beat, and tempo related blocks.
Fixes: #4854
Key Changes:
- Verifies registration of all meter block prototypes
- Covers parameter handling, flow logic, and status matrix behavior
- Tests BPM clamping, stacking, and cleanup for legacy and newer BPM blocks
- Validates error handling and edge cases for missing inputs
❌ Some Jest tests failed. Please check the logs and fix the issues before merging.
Failed Tests:
SaveInterface.test.js
Please run prettier on the files you changed.
❌ Some Jest tests failed. Please check the logs and fix the issues before merging.
Failed Tests:
SaveInterface.test.js
Please run prettier on the files you changed.
@walterbender all checks pass now. Jest test failure has been observed across multiple PRs so it doesn’t appear to be specific to this PR.