2 Commits

Author SHA1 Message Date
9125607faf Split out the unittests into separate files.
We use nodes require so we have to follow nodes module conventions for test
suites.

* As a result we need to inject the requirejs loader as well as the exports
  object.
* Also we need to move the requirejs setup logic into it's own module
  for reuse.
* The test modules add tests to the exports object for our test runner.
2013-11-16 15:26:49 -05:00
1a12a8f31e Setup unit testing infrastructure using npm
* Add package.json to tell npm what dependencies we need.
* Use npm's test package for the assertions
* Add a test/all.js as our test suite entrypoint.
* Port biblerefparsing tests over to the new unit test framework.
2013-11-16 13:27:56 -05:00