karma-runner / karma-runner/karma
Use serverSocket in middleware and expose window.karma.socket
Open
- Dominant language
- JavaScript
- Stars
- 12k
- Forks
- 1.7k
- PR merge metrics
- No merged PRs in 30d
Description
I'd like to be able to reuse Karma's web socket in my middleware. I cannot do this because I run into circular dependency. Is there no way to do that?
Contributor guide
Research direction
Start by tracing how middleware accesses the serverSocket and how window.karma is exposed. Resolve the circular dependency question and define the intended serverSocket and window.karma.socket behavior before determining what tests should verify.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100