Skip to content

improve test coverage (75%) #41

@Deadlyflamemaster

Description

@Deadlyflamemaster

improve test coverage (75%) and include integration tests (client-to-server and server-to-database) while ensuring clean code via linting and deploying the game,

Refactor existing tests to fit the new architecture.
Add unit and integration tests for new functionality.
Set up linting rules (e.g., ESLint) to ensure clean code across both client and server.
Modify deployment scripts for the server-client model.

Testing Frameworks and Tools
Jest: For unit and integration tests in Node.js.
Supertest: To test API endpoints (client-server integration).
MongoDB Memory Server: To run tests against an in-memory MongoDB instance (server-database integration).
ESLint: For code linting.

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions