Skip to content

Commit 6383c1f

Browse files
authored
Test suite for the js/Blocks/DrumBlocks.js (#4527)
* creating test suite for js/block/DrumBlocks.js * Exporting modules for test
1 parent 9fd20da commit 6383c1f

File tree

2 files changed

+449
-0
lines changed

2 files changed

+449
-0
lines changed

js/blocks/DrumBlocks.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -593,3 +593,6 @@ function setupDrumBlocks(activity) {
593593
new PlayEffectBlock().setup(activity);
594594
new PlayDrumBlock().setup(activity);
595595
}
596+
if (typeof module !== "undefined" && module.exports) {
597+
module.exports = { setupDrumBlocks };
598+
}

0 commit comments

Comments
 (0)