• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

isaacgr / jaysonic / 309 / 1
95%
master: 95%

Build:
DEFAULT BRANCH: master
Ran 07 Sep 2021 11:46AM UTC
Files 23
Run time 2s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

07 Sep 2021 11:44AM UTC coverage: 94.948% (+0.2%) from 94.699%
309.1

push

travis-ci-com

web-flow
Task/improve server methods (#100)

* Add newly connected clients to this.clients list

    - update all previous instances to use this.clients
    - clear this.client list when _removeClients is called
    - update existing tests to use this.clients
    - add tests to verify that the list is cleared on close

* Call _removeClients on server close

* Setup listeners for ws server and clear this.clients when _removeClients called

* Remove all factory listener events

    - call clientConnected and clientDisconnected on the factory directly
    - remove .on('error') handler for factory since this seems unnecessary

* Call 'reject' on server.listen() if server receives 'error' event

* Add tests for rejecting listen() based on 'error' event

* Add 'error' event listener test

* Pass protocol instance to clientConnected

* Overwrite clientConnected and clientDisconnected methods

    - http protocol instance is based on the request, not on the connected client

* Use JsonRpcServerProtocol instance in clientConnected and clientDisconnected methods

* Update babel and jsdoc

* Add tests for clientConnected and clientDisconnected methods

* Update docs for clientConnected and clientDisconnected

232 of 254 branches covered (91.34%)

Branch coverage included in aggregate %.

689 of 716 relevant lines covered (96.23%)

44.62 hits per line

Source Files on job 309.1
  • Tree
  • List 0
  • Changed 13
  • Source Changed 5
  • Coverage Changed 13
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 251
  • Travis Job 309.1
  • a58d35e0 on github
  • Prev Job for on master (#308.1)
  • Next Job for on master (#311.3)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc