In the API section, the known value for the server test (test-server.js) is
expected = {
minYear: 1979,
maxYear: 2000,
count: 10
}
I think it should be
expected = {
year_low: 1979,
year_high: 2000,
record_count: 10
}
so that the keys match with what DataManager.getSurveyStats() returns. Otherwise, the test fails (at least for me).
Happy to submit a PR if desired.