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

pouchdb / pouchdb / 7941
100%

Build:
DEFAULT BRANCH: master
Ran 01 Jun 2016 08:15PM UTC
Jobs 1
Files 1
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
7941

push

travis-ci

daleharvey
(#5238) - Fix unhandled rejection in changes



changes - Checks to make sure someone is listening for the error event
before emitting it. See #5238 for details.

index - Registering listenerCount

listenerCount - Supports both the modern and legacy versions of
  listenerCount

test.changes.js - This test will fail if there is an unhandled rejection
so we use it to test that the fix worked.

utils - Enables adding/removing events on the either the process or
windows object depending on environment. And dealing with the fact
that the unhandledRejection event is spelled differently in node vs
the browser. Note that this is a NOOP in Firefox but works in Chrome. This
just means if there is a bug in Firefox it won't be caught.

* Fix @daleharvey 's comments

test.changes - Switched from using after to using a final catch all then
clause to remove the listener. Dale said this is closer to the style that
PouchDB uses.

utils - Provided wrappers specifically for unhandled rejection events per
Dale's comment

4260 of 4261 relevant lines covered (99.98%)

25918.73 hits per line

Coverage Regressions

Lines Coverage ∆ File
1
100.0
packages/pouchdb-for-coverage/lib/index.js
Jobs
ID Job ID Ran Files Coverage
41 7941.41 (COMMAND=report-coverage) 01 Jun 2016 08:15PM UTC 0
99.98
Travis Job 7941.41
Source Files on build 7941
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #7941
  • 48692ce7 on github
  • Prev Build on master (#7938)
  • Next Build on master (#7947)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc