Skip to content

Provide unit tests for chess.service.js #28

Description

@fave77

Is your feature request related to a problem? Please describe. 💡
This is related to unit testing for the file chess.service.js.

Describe the solution you'd like

  • Create a file inside server/test/services named chess.service.spec.js for writing the unit tests.
  • Write the tests along with required sandboxes in jest for the functions validatePawnPromotion and evaluateGame

Describe alternatives you've considered 🌟
NA

Additional context 📝
NA

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is neededmoderateThis issue is moderately difficultunit-testThis issue addresses unit testing

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions