Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Capstone - expected value in server test #218

Open
asbates opened this issue Sep 22, 2020 · 0 comments
Open

Capstone - expected value in server test #218

asbates opened this issue Sep 22, 2020 · 0 comments

Comments

@asbates
Copy link
Contributor

asbates commented Sep 22, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant