fave77/pbchess

Provide unit tests for chess.service.js

Opened this issue · 6 comments

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

@fave77 Hello, I am gssoc participant and would like to work on this issue.
discord username : Feni#4332

@fave77 Thanks for assing me

@feni-katharotiya please share your update

@feni-katharotiya Unassigning you due to no response over here and on discord

@fave77 Can I work on this issue?

please assign me this issue