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

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

Build:
DEFAULT BRANCH: master
Ran 13 Jan 2021 05:30PM UTC
Files 72
Run time 15s
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

13 Jan 2021 05:20PM UTC coverage: 96.945% (+0.2%) from 96.769%
BROWSER_STACK_USERNAME=[secure] BROWSER_STACK_ACCESS_KEY=[secure] SDK=javascript SDK_BRANCH=$TRAVIS_PULL_REQUEST_BRANCH

push

travis-ci-com

web-flow
feat: Implement DecisionResponse in decision hierarchy (#640)

* Create DecisionResponse interface

* Refactor bucketer.bucket reasons and partially decision_service reasons

* Create class DecisionResponse instead of an interface

* Update getVariation and getVariationForFeature methods in decision service

* Update getForcedVariation method in decision service

* Clean up and start fixing decision_service tests

* Update decision_service unit tests

* Update optimizely unit tests

* Update bucketer unit tests

* Update Copyright year to include 2021

* Fix reported reasons and begin adding new unit tests

* Add test case when returning stored variation

* Add unit test when user is in forced variation

* Add more unit tests

* Change __checkIfUserIsInAudience method to return decision response and update unit tests

* Add unit test when user is not bucketed into targeting rule

* Refactor test setup and add more tests

* Clean up and add bucketing in group test

* Complete INCLUDE_REASONS default option tests

* Add decision response unit tests

* Incorporate comments part 1

* Add missing unit tests when user has forced variation

* Change DecisionReponse class to interface and update unit tests

* Remove console.log statement

893 of 1009 branches covered (88.5%)

Branch coverage included in aggregate %.

8627 of 8811 relevant lines covered (97.91%)

59.01 hits per line

Source Files on job 2665.7 (BROWSER_STACK_USERNAME=[secure] BROWSER_STACK_ACCESS_KEY=[secure] SDK=javascript SDK_BRANCH=$TRAVIS_PULL_REQUEST_BRANCH)
  • Tree
  • List 0
  • Changed 22
  • Source Changed 8
  • Coverage Changed 21
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 1867
  • Travis Job 2665.7
  • 72116b40 on github
  • Prev Job for BROWSER_STACK_USERNAME=[secure] BROWSER_STACK_ACCESS_KEY=[secure] SDK=javascript SDK_BRANCH=$TRAVIS_PULL_REQUEST_BRANCH on master (#2643.2)
  • Next Job for BROWSER_STACK_USERNAME=[secure] BROWSER_STACK_ACCESS_KEY=[secure] SDK=javascript SDK_BRANCH=$TRAVIS_PULL_REQUEST_BRANCH on master (#2669.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