Skip to content

Commit 5b425ac

Browse files
alokdangresa-fw-an
authored andcommitted
added tests for ToneBlocks.js file (sugarlabs#4612)
* edited * added tests for toneBlocks.js * fixed linting issues --------- Co-authored-by: Studycode001 <148090007+Studycode001@users.noreply.github.com>
1 parent 69c3104 commit 5b425ac

2 files changed

Lines changed: 569 additions & 0 deletions

File tree

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)