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

optimizely / javascript-sdk / 2943 / 2
78%
master: 78%

Build:
DEFAULT BRANCH: master
Ran 07 Oct 2021 09:38PM UTC
Files 82
Run time 25s
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

07 Oct 2021 09:35PM UTC coverage: 97.072% (+0.08%) from 96.993%
SDK=javascript SDK_BRANCH=$TRAVIS_PULL_REQUEST_BRANCH

push

travis-ci-com

web-flow
feat: Added a Lite bundle excluding Data file manager and Event Processor packages. (#699)

## Summary
Some platforms (such as edge providers), do not need extended functionality offered by data file manager and event processor. This PR creates a lite bundle which uses a `NoOpDatafileManager` and a `ForwardingEventProcessor` which immediately dispatches events when a custom event dispatcher is provided. This results in up to 20% reduction in bundle size. This also fixes the errors that SDK was throwing on edge platforms.

### Usage
To use the lite bundle, user needs to explicitly import from it.
`import { createInstance } from '@optimizely/optimizely-sdk/dist/optimizely.lite.es.mins.js'`

## Test plan
1. All the Full stack compatibility suite tests pass for the existing bundles.
2. Fixed all the failing unit tests.
3. Added new unit tests to `lite` entry point.

1026 of 1154 branches covered (88.91%)

Branch coverage included in aggregate %.

9186 of 9366 relevant lines covered (98.08%)

67.89 hits per line

Source Files on job 2943.2 (SDK=javascript SDK_BRANCH=$TRAVIS_PULL_REQUEST_BRANCH)
  • Tree
  • List 0
  • Changed 20
  • Source Changed 13
  • Coverage Changed 18
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 2114
  • Travis Job 2943.2
  • b0478ec6 on github
  • Prev Job for SDK=javascript SDK_BRANCH=$TRAVIS_PULL_REQUEST_BRANCH on master (#2940.2)
  • Next Job for SDK=javascript SDK_BRANCH=$TRAVIS_PULL_REQUEST_BRANCH on master (#2949.2)
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