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

NGCP / communication-js / 75
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:36AM UTC
Jobs 1
Files 2
Run time 1s
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
75

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

Jobs
ID Job ID Ran Files Coverage
1 75.1 13 Mar 2020 10:36AM UTC 0
100.0
Travis Job 75.1
Source Files on build 75
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #75
  • c1a9855c on github
  • Prev Build on finish-testing (#72)
  • Next Build on finish-testing (#76)
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