Jeremy Wall (zaphar) 95e424f69f Add some data integrity tests.
* Add new test suite test/data-quality-tests.js
* Make ParseBook exported so I can use it to get data for each book
  This is suboptimal since really the data should be in a look up table
  somewhere but I don't want to tackle that in this change.
* Actually load the json data for each book and test that number
  of chapters exists.
2013-11-16 16:18:36 -05:00

5 lines
150 B
JavaScript

require('./ref-tests.js').init(exports);
require('./data-quality-tests.js').init(exports);
if (module == require.main) require('test').run(exports);