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

optimizely / javascript-sdk / 2458
78%

Build:
DEFAULT BRANCH: master
Ran 29 Oct 2020 09:37AM UTC
Jobs 7
Files 68
Run time 278min
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
2458

cron

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

408.64 hits per line

Jobs
ID Job ID Ran Files Coverage
3 2458.3 (BROWSER_STACK_USERNAME=[secure] BROWSER_STACK_ACCESS_KEY=[secure] SDK=javascript SDK_BRANCH=$TRAVIS_PULL_REQUEST_BRANCH) 29 Oct 2020 09:37AM UTC 0
96.71
Travis Job 2458.3
6 2458.6 (BROWSER_STACK_USERNAME=[secure] BROWSER_STACK_ACCESS_KEY=[secure] SDK=javascript SDK_BRANCH=$TRAVIS_PULL_REQUEST_BRANCH) 29 Oct 2020 12:59PM UTC 0
96.71
Travis Job 2458.6
7 2458.7 (BROWSER_STACK_USERNAME=[secure] BROWSER_STACK_ACCESS_KEY=[secure] SDK=javascript SDK_BRANCH=$TRAVIS_PULL_REQUEST_BRANCH) 29 Oct 2020 01:35PM UTC 0
96.71
Travis Job 2458.7
8 2458.8 (BROWSER_STACK_USERNAME=[secure] BROWSER_STACK_ACCESS_KEY=[secure] SDK=javascript SDK_BRANCH=$TRAVIS_PULL_REQUEST_BRANCH) 29 Oct 2020 01:36PM UTC 0
96.71
Travis Job 2458.8
9 2458.9 (BROWSER_STACK_USERNAME=[secure] BROWSER_STACK_ACCESS_KEY=[secure] SDK=javascript SDK_BRANCH=$TRAVIS_PULL_REQUEST_BRANCH) 29 Oct 2020 01:36PM UTC 0
96.71
Travis Job 2458.9
10 2458.10 (BROWSER_STACK_USERNAME=[secure] BROWSER_STACK_ACCESS_KEY=[secure] SDK=javascript SDK_BRANCH=$TRAVIS_PULL_REQUEST_BRANCH) 29 Oct 2020 01:37PM UTC 0
96.71
Travis Job 2458.10
11 2458.11 (BROWSER_STACK_USERNAME=[secure] BROWSER_STACK_ACCESS_KEY=[secure] SDK=javascript SDK_BRANCH=$TRAVIS_PULL_REQUEST_BRANCH) 29 Oct 2020 02:15PM UTC 0
96.71
Travis Job 2458.11
Source Files on build 2458
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2458
  • 6f60a6b8 on github
  • Prev Build on master (#2457)
  • Next Build on master (#2466)
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