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

optimizely / javascript-sdk / 907
78%

Build:
DEFAULT BRANCH: master
Ran 08 Jul 2019 08:20PM UTC
Jobs 5
Files 51
Run time 2min
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
907

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%)

92.92 hits per line

Jobs
ID Job ID Ran Files Coverage
2 907.2 08 Jul 2019 08:20PM UTC 0
97.53
Travis Job 907.2
3 907.3 08 Jul 2019 08:22PM UTC 0
97.53
Travis Job 907.3
4 907.4 08 Jul 2019 08:21PM UTC 0
97.53
Travis Job 907.4
5 907.5 08 Jul 2019 08:21PM UTC 0
97.53
Travis Job 907.5
6 907.6 08 Jul 2019 08:21PM UTC 0
97.53
Travis Job 907.6
Source Files on build 907
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #907
  • fbe766e4 on github
  • Prev Build on master (#899)
  • Next Build on master (#909)
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

© 2025 Coveralls, Inc