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

optimizely / javascript-sdk / 1078
78%

Build:
DEFAULT BRANCH: master
Ran 16 Aug 2019 10:56PM UTC
Jobs 5
Files 53
Run time 3min
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
1078

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

108.25 hits per line

Jobs
ID Job ID Ran Files Coverage
3 1078.3 16 Aug 2019 10:56PM UTC 0
97.6
Travis Job 1078.3
4 1078.4 16 Aug 2019 11:00PM UTC 0
97.6
Travis Job 1078.4
5 1078.5 16 Aug 2019 10:58PM UTC 0
97.6
Travis Job 1078.5
6 1078.6 16 Aug 2019 10:58PM UTC 0
97.6
Travis Job 1078.6
7 1078.7 16 Aug 2019 10:58PM UTC 0
97.6
Travis Job 1078.7
Source Files on build 1078
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1078
  • 1be4665e on github
  • Prev Build on master (#1076)
  • Next Build on master (#1080)
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