Test using mocha, from root directory:
mocha test
To test the web version, start a web server at the root dir of this repo, then use your OS browser.
Python to the rescue! From command line run this command:
$ python -m SimpleHTTPServer 8080
#go to http://localhost:8080/test/test_browser.htmlOr you can use node.js instead:
$ npm install -g http-serverThen run:
$ http-server
#go to http://localhost:8080/test/test_browser.html