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

optimizely / javascript-sdk / 781 / 2
98%
master: 78%

Build:
Build:
LAST BUILD BRANCH: ai/raju-opti/FSSDK-12275-experiment-type
DEFAULT BRANCH: master
Ran 22 Apr 2019 05:16PM UTC
Files 51
Run time 3s
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

19 Apr 2019 11:25PM UTC coverage: 97.58%. First build
781.2

push

travis-ci

web-flow
fix (onReady): Clear ready timeout when instance closed, and other small fixes (#25)

Summary:

Previously, if close was called with pending ready timeouts, those timeouts would remain active. With this change, we clear all pending ready timeouts when close is called.

To guard against Promises returned from onReady remaining permanently pending, in close, we resolve any ready promises associated with pending timeouts with unsuccessful results. 

There are two other small changes in this PR:
- Improve documentation comments for Optimzely onReady and ProjectConfigManager onReady
- Return false from setForcedVariation when no configObj available (was previously returning null)

Test plan:

Updated unit tests, existing unit tests should continue passing

584 of 635 branches covered (91.97%)

Branch coverage included in aggregate %.

5707 of 5812 relevant lines covered (98.19%)

18.57 hits per line

Source Files on job 781.2
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 568
  • Travis Job 781.2
  • de8546c1 on github
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