socketio / socketio/socket.io

Feature Request: Docs/Support for client side unit testing of socketio clients

Open
#5,099 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

documentation package:socket.io-client
Dominant language
TypeScript
Stars
63.2k
Forks
10.3k
Avg merge
11d 20h
Merged PRs (30d)
2

Description

You want to:
  • report a bug
  • request a feature
Current behaviour

If you have a front end application which uses the socketio client, it is unclear how you can unit test this functionality. I have described how the issue manifests with angular (but this is applicable to any client side unit testing) here. I can't seem to see any documentation for this or third part blogs/tutorials etc.

Expected behaviour

This should be a supported and documented use case.

Contributor guide

Open the contributing guide

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

Start by reviewing the linked Stack Overflow example and the existing socket.io client documentation to identify the supported client-side unit-testing workflow. Done means documenting this use case clearly, including the Angular example if it remains relevant; the issue names no repository files or tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
angular, typescript
Domain
documentation, testing
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.