luixaviles / luixaviles/socket-io-typescript-chat
How to test the server
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 825
- Forks
- 270
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
I am trying to figure out how to test the server side. I am using mocha, chai and sinon but really don't know how to emulate a websocket client on the server side so that I can test its flow. Could you help or suggest what client to use to initiate connect from the test?
Thank you.
Kind regards,
Jarek
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No file, test, or entry point is identified. First clarify the server flow and the expected websocket-client behavior, then review the existing Mocha, Chai, and Sinon setup. Done means the repository has a documented, reproducible way to initiate a client connection and test the server flow.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- nodejs, typescript
- Domain
- backend, testing
- Issue type
- Documentation
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100