Skip to content

Commit 33e9312

Browse files
authored
added tests for ToneBlocks.js file (sugarlabs#4612)
* edited * added tests for toneBlocks.js * fixed linting issues --------- Co-authored-by: Studycode001 <[email protected]>
1 parent a2df7f9 commit 33e9312

File tree

2 files changed

+569
-0
lines changed

2 files changed

+569
-0
lines changed

js/blocks/ToneBlocks.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1152,3 +1152,8 @@ function setupToneBlocks(activity) {
11521152
new VoiceNameBlock().setup(activity);
11531153
new SetTimbreBlock().setup(activity);
11541154
}
1155+
1156+
1157+
if (typeof module !== "undefined" && module.exports) {
1158+
module.exports = { setupToneBlocks };
1159+
}

0 commit comments

Comments
 (0)