I have added a testing framework (Karma running Chrome Headless, with Mocha, Chai and SinonJS, integrated into Grunt tasks), and tests for most source files.
The only untested file that remains is scormAPI.js. While it is the most important file to test, I have run out of time for this weekend, and figured I would create a "smaller" PR today instead of waiting until I had everything done (probably next weekend, or in two weeks).
I have added a testing framework (Karma running Chrome Headless, with Mocha, Chai and SinonJS, integrated into Grunt tasks), and tests for most source files.
The only untested file that remains is
scormAPI.js
. While it is the most important file to test, I have run out of time for this weekend, and figured I would create a "smaller" PR today instead of waiting until I had everything done (probably next weekend, or in two weeks).Enjoy!