Skip to content

Commit d29492c

Browse files
authored
Merge pull request #5074 from vyagh/test/tuner-widget-tests
test: add comprehensive TunerDisplay and TunerUtils unit tests
2 parents b8636b6 + de4fb09 commit d29492c

File tree

2 files changed

+654
-0
lines changed

2 files changed

+654
-0
lines changed

js/widgets/tuner.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,3 +211,6 @@ const TunerUtils = {
211211
return Math.pow(2, (baseCents + adjustment) / 1200);
212212
}
213213
};
214+
if (typeof module !== "undefined") {
215+
module.exports = { TunerDisplay, TunerUtils };
216+
}

0 commit comments

Comments
 (0)