Skip to content

Capstone - expected value in server test #218

@asbates

Description

@asbates

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions