Skip to content

Commit 0903cef

Browse files
Commanderk3Walter Bender
andauthored
Tests for SaveInterface.js (#4402)
* tests for SaveInterface * import LILYPONDHEADER * space removed * refactored * consolidate "describe" blocks * prompt fix * getTurtle and getTurtleCount mocks * remove extra newlines * saveMIDI * afterSaveMidi tests --------- Co-authored-by: Walter Bender <[email protected]>
1 parent 5e12c44 commit 0903cef

File tree

3 files changed

+809
-1
lines changed

3 files changed

+809
-1
lines changed

js/SaveInterface.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -757,7 +757,7 @@ class SaveInterface {
757757
this.activity.logo.runLogoCommands();
758758
}
759759

760-
/**
760+
/**
761761
* Perform actions after saving an MXML file.
762762
*
763763
* This method handles post-processing steps after saving an MXML file.
@@ -775,3 +775,8 @@ class SaveInterface {
775775
this.activity.logo.runningMxml = false;
776776
}
777777
}
778+
779+
780+
if (typeof module !== 'undefined' && module.exports) {
781+
module.exports = { SaveInterface };
782+
}

0 commit comments

Comments
 (0)