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

isaacgr / jaysonic / 309
95%

Build:
DEFAULT BRANCH: master
Ran 07 Sep 2021 11:46AM UTC
Jobs 3
Files 23
Run time 26s
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

pending completion
309

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%)

133.86 hits per line

Jobs
ID Job ID Ran Files Coverage
1 309.1 07 Sep 2021 11:46AM UTC 0
94.95
Travis Job 309.1
2 309.2 07 Sep 2021 11:46AM UTC 0
94.95
Travis Job 309.2
3 309.3 07 Sep 2021 11:46AM UTC 0
94.95
Travis Job 309.3
Source Files on build 309
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #309
  • a58d35e0 on github
  • Prev Build on master (#308)
  • Next Build on master (#311)
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

© 2025 Coveralls, Inc