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

optimizely / javascript-sdk / 2074 / 8
78%
master: 78%

Build:
DEFAULT BRANCH: master
Ran 31 Jul 2020 10:23PM UTC
Files 63
Run time 19s
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

31 Jul 2020 10:10PM UTC coverage: 96.771% (+0.07%) from 96.704%
BROWSER_STACK_USERNAME=[secure] BROWSER_STACK_ACCESS_KEY=[secure] SDK=javascript SDK_BRANCH=$TRAVIS_PULL_REQUEST_BRANCH

push

travis-ci

web-flow
build: Introduce TypeScript into optimizely-sdk build (#504)

Summary:

Add TypeScript into the build for optimizely-sdk. The goal is to enable future development with TS and incremental conversion of modules from JS to TS.

- Uses the same TS version as subpackages (datafile-manager, event-processor, etc.)
- Uses rollup-plugin-typescript2 to add TS compilation step to rollup build
- tsconfig.json for optimizely-sdk is based on the share root tsconfig.json, with appropriate overrides
- Lint implementation is updated for TS compatibility, based on React SDK's
- Mocha test suite is updated for TS compatibility: types installed, command updated to use ts-node, based on official - Mocha TS example
- Configuration for Karma-based tests is updated to use ts-loader
- Converted string_value_validator and several other smaller modules as examples and litmus tests of the build changes

Test plan:

Manual testing using local build and linked Node app
Existing tests must pass - there are no intended functional changes
Inspected and compared build output from master branch, and this branch

Co-authored-by: Polina Nguen <43302774+yavorona@users.noreply.github.com>

698 of 798 branches covered (87.47%)

Branch coverage included in aggregate %.

7183 of 7346 relevant lines covered (97.78%)

51.29 hits per line

Source Files on job 2074.8 (BROWSER_STACK_USERNAME=[secure] BROWSER_STACK_ACCESS_KEY=[secure] SDK=javascript SDK_BRANCH=$TRAVIS_PULL_REQUEST_BRANCH)
  • Tree
  • List 0
  • Changed 55
  • Source Changed 9
  • Coverage Changed 55
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 1388
  • Travis Job 2074.8
  • d00751bf on github
  • Prev Job for BROWSER_STACK_USERNAME=[secure] BROWSER_STACK_ACCESS_KEY=[secure] SDK=javascript SDK_BRANCH=$TRAVIS_PULL_REQUEST_BRANCH on master (#2072.2)
  • Next Job for BROWSER_STACK_USERNAME=[secure] BROWSER_STACK_ACCESS_KEY=[secure] SDK=javascript SDK_BRANCH=$TRAVIS_PULL_REQUEST_BRANCH on master (#2078.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