Tests for Anchor are executed using Mocha as a test framework with Chai assertions.
Prior to running tests, use volo to fetch dependencies for both the module and tests from GitHub.
$ volo add
$ cd tests
$ volo add
To run tests in a browser, open runner.html:
$ open runner.html
To run headless tests from a terminal using PhantomJS:
$ make test-phantomjs