JS testing with Mocha & Chai
Test document loading and viewer rendering

Renders a viewer to a detached div element and runs a few basic tests on it.
Integrate backbone-chai testing add-on
Tests for viewer and login dialog