This is the code for this blog post on testing frontend JavaScript with Jasmine.
In order to run this example you have to install the following dependencies
$ npm install
$ npm install -g bower
$ bower install
If you want run the tests, use this command
$ npm test
The untestable example is in the file start.html
and the testable one is in index.html
.