luixaviles / luixaviles/socket-io-typescript-chat

How to test the server

Open
#26 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

good first issue
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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.