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

optimizely / javascript-sdk / 1078 / 7
78%
master: 78%

Build:
DEFAULT BRANCH: master
Ran 16 Aug 2019 10:58PM UTC
Files 53
Run time 5s
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

16 Aug 2019 10:50PM UTC coverage: 97.597% (-0.1%) from 97.693%
1078.7

push

travis-ci

web-flow
feat (event processor/pending events dispatcher): In browser entry point, add event listener for pagehide or unload that calls optimizely.close (#347)

Summary:

With event batching, optimizely.close() needs to be called to ensure that events are flushed before the user navigates away.  This PR ensures that optimizely.close() is called when the page unloads by hooking into the 'pagehide' event or the 'unload' event.

Test plan:

Added a UMD bundle test. Manually tested.

593 of 649 branches covered (91.37%)

Branch coverage included in aggregate %.

6271 of 6384 relevant lines covered (98.23%)

21.65 hits per line

Source Files on job 1078.7
  • Tree
  • List 0
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 796
  • Travis Job 1078.7
  • 1be4665e on github
  • Prev Job for on master (#1076.3)
  • Next Job for on master (#1080.3)
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