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

optimizely / javascript-sdk / 2457 / 5
78%
master: 78%

Build:
DEFAULT BRANCH: master
Ran 28 Oct 2020 11:59PM UTC
Files 68
Run time 8s
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

28 Oct 2020 05:28PM UTC coverage: 96.707% (+0.05%) from 96.662%
BROWSER_STACK_USERNAME=[secure] BROWSER_STACK_ACCESS_KEY=[secure] SDK=javascript SDK_BRANCH=$TRAVIS_PULL_REQUEST_BRANCH

push

travis-ci

web-flow
feat(flag-decisions): Add support for sending flag decisions (#599)

* Update activate and isFeatureEnabled to send decision events

Include metaData in ImpressionEvent

Send decisions when variation is null

Update existing event_helpers tests

Add metadata to impressionEventParams in getImpressionEventParams method

Add ruleKey parameter to ImpressionEvent

Change experimentKey to ruleKey

Update existing unit tests

Remove sendFlagDecisions from common event params

Update event-processor to include metadata in makeDecisionSnapshot

Update event-processos variationKey type to string | null

Update variationKey type to string | null

Update existing optimizely module tests part 1

Start adding new tests

Update unit tests impression params when decision.experiment is undefined

Clean up

Change layer id type to be string | null

Update variationId to bull as default

* Upgrade event-processor to 0.7.0

* Add createEventProcessor factory function

* Add tests for getSendFlagDecisionsValue method

* Update variationKey type to be string

* Refactor isFeatureEnabled

* Pass decision object instead of 4 individual values

* Update DecisionService setForcedVariation signature and comments

* Use optional chaining and nullish coalescing operator

* Create decision helper functions

* Address comments

* Clean up

* Fix experiment decision object

* Change variation_key to '' instead of null in metadata

* Update Changelog

Co-authored-by: Matt Carroll <matt.carroll@optimizely.com>

838 of 949 branches covered (88.3%)

Branch coverage included in aggregate %.

7648 of 7826 relevant lines covered (97.73%)

58.38 hits per line

Source Files on job 2457.5 (BROWSER_STACK_USERNAME=[secure] BROWSER_STACK_ACCESS_KEY=[secure] SDK=javascript SDK_BRANCH=$TRAVIS_PULL_REQUEST_BRANCH)
  • Tree
  • List 0
  • Changed 19
  • Source Changed 14
  • Coverage Changed 16
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 1684
  • Travis Job 2457.5
  • 6f60a6b8 on github
  • Prev Job for BROWSER_STACK_USERNAME=[secure] BROWSER_STACK_ACCESS_KEY=[secure] SDK=javascript SDK_BRANCH=$TRAVIS_PULL_REQUEST_BRANCH on master (#2441.3)
  • Next Job for BROWSER_STACK_USERNAME=[secure] BROWSER_STACK_ACCESS_KEY=[secure] SDK=javascript SDK_BRANCH=$TRAVIS_PULL_REQUEST_BRANCH on master (#2458.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