This PR adds Karma and Jasmine to allow automated test running and an example of how to write a Jasmine test for one of the functions in Util. It also includes an update to jshint to allow the exclusion of Jasmine's global functions from linting.
To run the tests:
Run npm install
Run karma start
There's also a tweak to util.js because it was failing linting.
This PR adds Karma and Jasmine to allow automated test running and an example of how to write a Jasmine test for one of the functions in Util. It also includes an update to jshint to allow the exclusion of Jasmine's global functions from linting.
To run the tests:
npm install
karma start
There's also a tweak to util.js because it was failing linting.