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

stream-utils / stream-to-array / 41
100%

Build:
DEFAULT BRANCH: master
Ran 13 Jan 2016 12:46AM UTC
Jobs 3
Files 1
Run time 7s
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
41

Pull #10

travis-ci

parshap
Do not swallow errors thrown in callback

Previously, if a synchronous error was thrown in the callback given to
toArray, the error is swallowed and never makes its way up the stack as
expected. This happens because the callback executes in a promise.then()
callback stack trace. The promise implementation catches the error and
doesn't report it other than via the "unhandledRejection" event. This is
unexpected for someone that is not otherwise using promises in their
application code.

This change uses process.nextTick to remove the callback from the
promise.then call stack.
Pull Request #10: Do not swallow errors thrown in callback

2 of 2 new or added lines in 1 file covered. (100.0%)

36 of 36 relevant lines covered (100.0%)

13.58 hits per line

Jobs
ID Job ID Ran Files Coverage
1 41.1 13 Jan 2016 12:46AM UTC 0
100.0
Travis Job 41.1
2 41.2 13 Jan 2016 12:46AM UTC 0
100.0
Travis Job 41.2
3 41.3 13 Jan 2016 12:46AM UTC 0
100.0
Travis Job 41.3
Source Files on build 41
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #41
  • Pull Request #10
  • PR Base - master (#38)
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