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

optimizely / javascript-sdk
98%
master: 80%

Build:
Build:
LAST BUILD BRANCH: raju/holdout_config
DEFAULT BRANCH: master
Repo Added 30 May 2017 09:13PM CUT
Files 120
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

LAST BUILD ON BRANCH client-rum
branch: client-rum
CHANGE BRANCH
x
Reset
  • client-rum
  • 2.0-consolidation
  • 4.x.x
  • 5.x.x
  • dependabot/npm_and_yarn/happy-dom-16.6.0
  • dependabot/npm_and_yarn/rollup-2.79.2
  • esra/FSSDK-11100_audience_evaluator_test
  • esra/dependabot/update_happy-dom
  • esra/vitest/FSSDK-11095_rewrite_condition_tree_test
  • fahad/enforce-linting
  • farhan-anjum/FSSDK-11073-GHA-publish-to-GPR
  • farhan-anjum/FSSDK-11073-update-gha-for-gpr-publish-on-5.x.x
  • farhan-anjum/FSSDK-11446-add-exp/var-id-to-notif-listener
  • junaed/fssdk-10655-fsc-decide-reason-fix
  • junaed/fssdk-10935-refactor-log-export
  • junaed/fssdk-11003-make-services-disposable-for-ssr
  • junaed/fssdk-11034-tests-js-to-ts
  • junaed/fssdk-11098-issue-with-akamai-edge-worker
  • junaed/fssdk-1119-test-js-to-ts
  • junaed/fssdk-11197-event-tag-type-fix
  • junaed/fssdk-11197-event-tag-type-fix-5.x.x
  • junaed/fssdk-11238-convert-notification-center-utils-test
  • junaed/fssdk-11403-readme-update
  • junaed/fssdk-11473-remove-crossbrowser-and-umd-from-pipeline
  • junaed/fssdk-11483-browser-content-length-removal
  • junaed/fssdk-11483-react-native-peer-range-update
  • junaed/fssdk-11502-async-decides-to-opti-user-context
  • junaed/fssdk-11509-netinfo-require-error
  • junaed/fssdk-11515-changelog-update
  • junaed/odp-manager-fix
  • junaed/prepare-5.3.5
  • master
  • mpirnovar-testing-fsc-js
  • raju/bucket
  • raju/cache_methods
  • raju/child_logger
  • raju/cleanup-log
  • raju/cmab_client
  • raju/cmab_config
  • raju/cmab_decision
  • raju/cmab_traffic
  • raju/cmabservice
  • raju/config-cleanup
  • raju/config_cache
  • raju/context
  • raju/datafile_validation
  • raju/decision_notification
  • raju/decision_test
  • raju/default-opt
  • raju/dep
  • raju/dependabot
  • raju/entrypoint_types
  • raju/errmsg
  • raju/es6
  • raju/event_cleanup
  • raju/event_default_flush
  • raju/event_experiment
  • raju/event_flush_default
  • raju/event_limit_fix
  • raju/event_retry
  • raju/event_store_limit
  • raju/exception-msg
  • raju/export-entrypoint
  • raju/export_map
  • raju/factory_throw
  • raju/high_alert
  • raju/holdout_config
  • raju/log-alias
  • raju/log-fix
  • raju/logger-factory
  • raju/logging-error-handling
  • raju/loglevel
  • raju/message-gen
  • raju/msg
  • raju/no_config
  • raju/node18
  • raju/node24
  • raju/notification-center
  • raju/odp-cleanup
  • raju/odp-refactor
  • raju/odp_event_api
  • raju/odp_factory
  • raju/opaque_factory
  • raju/opti_service
  • raju/optimizely_client_refactor
  • raju/prepare-6.0.0
  • raju/public_error_message
  • raju/readme
  • raju/region
  • raju/remove-plugins-dir
  • raju/remove_xb
  • raju/sync_update_config
  • raju/ua-parser
  • raju/universal_entrypoint
  • raju/update_version
  • raju/ups_async
  • raju/user_attr
  • raju/util-cleanup
  • raju/validate
  • raju/validation
  • refs/heads/master
  • sohail/removetokens

pending completion
781

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

74.27 hits per line

Relevant lines Covered
Build:
Build:
5812 RELEVANT LINES 5707 COVERED LINES
74.27 HITS PER LINE
Source Files on client-rum
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Loading...
Coverage∆FileLinesRelevantCoveredMissedHits/LineBranch HitsBranch Misses
No data available in table
Showing 0 to 0 of 0 entries
  • Previous
  • Next

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
781 client-rum 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 timeout... push 22 Apr 2019 05:16PM CUT web-flow travis-ci pending completion  
See All Builds (3142)
  • Repo 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

© 2025 Coveralls, Inc