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

optimizely / javascript-sdk / 2665
78%

Build:
DEFAULT BRANCH: master
Ran 13 Jan 2021 05:23PM UTC
Jobs 7
Files 72
Run time 8min
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
2665

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

413.06 hits per line

Jobs
ID Job ID Ran Files Coverage
2 2665.2 (BROWSER_STACK_USERNAME=[secure] BROWSER_STACK_ACCESS_KEY=[secure] SDK=javascript SDK_BRANCH=$TRAVIS_PULL_REQUEST_BRANCH) 13 Jan 2021 05:23PM UTC 0
96.95
Travis Job 2665.2
5 2665.5 (BROWSER_STACK_USERNAME=[secure] BROWSER_STACK_ACCESS_KEY=[secure] SDK=javascript SDK_BRANCH=$TRAVIS_PULL_REQUEST_BRANCH) 13 Jan 2021 05:28PM UTC 0
96.95
Travis Job 2665.5
6 2665.6 (BROWSER_STACK_USERNAME=[secure] BROWSER_STACK_ACCESS_KEY=[secure] SDK=javascript SDK_BRANCH=$TRAVIS_PULL_REQUEST_BRANCH) 13 Jan 2021 05:30PM UTC 0
96.95
Travis Job 2665.6
7 2665.7 (BROWSER_STACK_USERNAME=[secure] BROWSER_STACK_ACCESS_KEY=[secure] SDK=javascript SDK_BRANCH=$TRAVIS_PULL_REQUEST_BRANCH) 13 Jan 2021 05:30PM UTC 0
96.95
Travis Job 2665.7
8 2665.8 (BROWSER_STACK_USERNAME=[secure] BROWSER_STACK_ACCESS_KEY=[secure] SDK=javascript SDK_BRANCH=$TRAVIS_PULL_REQUEST_BRANCH) 13 Jan 2021 05:30PM UTC 0
96.95
Travis Job 2665.8
9 2665.9 (BROWSER_STACK_USERNAME=[secure] BROWSER_STACK_ACCESS_KEY=[secure] SDK=javascript SDK_BRANCH=$TRAVIS_PULL_REQUEST_BRANCH) 13 Jan 2021 05:30PM UTC 0
96.95
Travis Job 2665.9
10 2665.10 (BROWSER_STACK_USERNAME=[secure] BROWSER_STACK_ACCESS_KEY=[secure] SDK=javascript SDK_BRANCH=$TRAVIS_PULL_REQUEST_BRANCH) 13 Jan 2021 05:30PM UTC 0
96.95
Travis Job 2665.10
Source Files on build 2665
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #2665
  • 72116b40 on github
  • Prev Build on master (#2643)
  • Next Build on master (#2669)
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