Moved Playground.js into an EducationPlatform class to facilitate unit testing. Platform setup is now done by index.js that instantiates the EducationPlatform. This change makes it possible to unit test the methods used by platform without the platform setup conflicting with the tests.
Tested and working using recent activities with composite panels including: Xtext editor, loading from a private repo, saving to a repo. Tested and working using Linux Firefox v123 and Chrome v122 and Windows Edge v122.
Moved Playground.js into an
EducationPlatform
class to facilitate unit testing. Platform setup is now done by index.js that instantiates theEducationPlatform
. This change makes it possible to unit test the methods used by platform without the platform setup conflicting with the tests.Tested and working using recent activities with composite panels including: Xtext editor, loading from a private repo, saving to a repo. Tested and working using Linux Firefox v123 and Chrome v122 and Windows Edge v122.