Skip to content

Latest commit

 

History

History
25 lines (15 loc) · 567 Bytes

README.md

File metadata and controls

25 lines (15 loc) · 567 Bytes

Tests

Tests for Anchor are executed using Mocha as a test framework with Chai assertions.

Dependencies

Prior to running tests, use volo to fetch dependencies for both the module and tests from GitHub.

$ volo add
$ cd tests
$ volo add
Browser

To run tests in a browser, open runner.html:

$ open runner.html
PhantomJS

To run headless tests from a terminal using PhantomJS:

$ make test-phantomjs