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

NGCP / communication-js / 75 / 1
97%
master: 97%

Build:
Build:
LAST BUILD BRANCH: dependabot/npm_and_yarn/types/sinon-10.0.2
DEFAULT BRANCH: master
Ran 13 Mar 2020 10:37AM UTC
Files 2
Run time 0s
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

13 Mar 2020 10:33AM UTC coverage: 100.0%. Remained the same
75.1

push

travis-ci-com

Luis729
Add UpdateHanlder#clearHandlers and simplify logic

 ## Why is the change being made?

This change is made because UpdateHandler requires a clearHandlers
function to remove all handlers (used from a required function
Messenger#stopSendingMessages).

 ## What has changed to address the problem?

This change adds the clearHandlers function to UpdateHandlers and adds
unit testing for it. This change also simplifies a lot of logic
concerning deleting handlers explicitly, and just calls the
handler.remove function instead.

This change also adds a throw statement if a handler is deleted but the
event does not exist.

 ## How was this change tested?

This change was tested with `npm test`.

 ## Related documents, URLs, commits

84 of 84 branches covered (100.0%)

Branch coverage included in aggregate %.

47 of 47 relevant lines covered (100.0%)

8.85 hits per line

Source Files on job 75.1
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 71
  • Travis Job 75.1
  • c1a9855c on github
  • Prev Job for on finish-testing (#72.1)
  • Next Job for on finish-testing (#76.1)
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