Adding unit tests for our JavaScript code. There's not a lot of JavaScript right now so this might be overkill, but adding a simple, browser compatible testing tool like Jasmine gives developers confidence to refactor the JS we have and determine if anything would actually break.
Adding tests specifically for the DOM manipulation specific JS code.
Note: I have no idea if we think this is actually necessary, since the project is so small, but this was definitely useful when cleaning up the index.js a bit.
Type of change
Test additions
How Has This Been Tested?
Pull the branch locally
Open SpecRunner.html in your browser locally to run all tests
If all tests pass then all things should be good :+1:
Description
Adding unit tests for our JavaScript code. There's not a lot of JavaScript right now so this might be overkill, but adding a simple, browser compatible testing tool like Jasmine gives developers confidence to refactor the JS we have and determine if anything would actually break.
Adding tests specifically for the DOM manipulation specific JS code.
Note: I have no idea if we think this is actually necessary, since the project is so small, but this was definitely useful when cleaning up the index.js a bit.
Type of change
How Has This Been Tested?
SpecRunner.html
in your browser locally to run all testsScreenshots