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

optimizely / javascript-sdk / 907 / 4
78%
master: 78%

Build:
DEFAULT BRANCH: master
Ran 08 Jul 2019 08:21PM UTC
Files 51
Run time 11s
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

08 Jul 2019 08:16PM UTC coverage: 97.528% (-0.003%) from 97.531%
907.4

push

travis-ci

web-flow
feat(event processor)[OASIS-4921] Return Promise from close method representing the close process (#295)

Summary:

The close method flushes the event processor's queue. If the queue was non-empty, requests will be sent to the event dispatcher. Users may want to wait until the dispatcher finishes sending these, so we return a Promise that fulfills after the event dispatcher calls the "done" callback for each request.

The event processor already returns a Promise from its stop method, so this change is just making use of that.

Test plan:

New unit tests. Manually tested

581 of 633 branches covered (91.79%)

Branch coverage included in aggregate %.

5810 of 5920 relevant lines covered (98.14%)

18.58 hits per line

Source Files on job 907.4
  • Tree
  • List 0
  • Changed 6
  • Source Changed 2
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 671
  • Travis Job 907.4
  • fbe766e4 on github
  • Prev Job for on master (#899.2)
  • Next Job for on master (#909.2)
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