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

NGCP / communication-js / 63
98%
master: 97%

Build:
Build:
LAST BUILD BRANCH: dependabot/npm_and_yarn/types/sinon-10.0.2
DEFAULT BRANCH: master
Ran 07 Mar 2020 11:04AM 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
63

push

travis-ci-com

Luis729
Add sinon to mock unit testing

 ## Why is the change being made?

This change is made because coverage from previous commit is not that
great, and it is hard to test everything without mocks.

 ## What has changed to address the problem?

This change adds sinon, a mocking dependency to mock things for unit
testing. The XBee testing script now has one new script that mocks the
case in which the xbee fails to send data through sinon.

 ## How was this change tested?

This change was tested with `npm test`.

 ## Related documents, URLs, commits

34 of 44 branches covered (77.27%)

Branch coverage included in aggregate %.

72 of 77 relevant lines covered (93.51%)

7.83 hits per line

Jobs
ID Job ID Ran Files Coverage
1 63.1 07 Mar 2020 11:04AM UTC 0
87.6
Travis Job 63.1
Source Files on build 63
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #63
  • 28cc2503 on github
  • Prev Build on mock-testing (#62)
  • Next Build on mock-testing (#64)
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