The Wayback Machine - https://web.archive.org/web/20200602042910/https://github.com/optimizely/javascript-sdk
Skip to content
JavaScript SDK for Optimizely X Full Stack: A/B testing and feature management for product development teams https://www.optimizely.com/products/f…
JavaScript TypeScript
Branch: master
Clone or download

Latest commit

jasonkarns Fix test stubbings of global XHR object (#489)
Summary:

Fixes cross-test pollution of global XHR object.

The global XHR object was being stubbed in some tests but not others. But the tests that didn't stub weren't failing because the tests that _were_ stubbing weren't being cleaned up! So some test suites were depending (implicitly) on side effects from other test files.

Issues:

partially fixes #488
Latest commit 95cd8a0 May 28, 2020

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github chore(repo): Create issue template (#157) Dec 26, 2018
packages Fix test stubbings of global XHR object (#489) May 28, 2020
.gitignore Move to multi-package repo using lerna. (#79) Feb 27, 2018
.prettierrc Add logging / utils package (#226) Feb 21, 2019
.travis.yml chore: Removed triggers for Benchmarking tests (#494) May 28, 2020
CODEOWNERS Create CODEOWNERS (#340) Aug 12, 2019
CONTRIBUTING.md feat(core)[OASIS-6054]: Change Error to LOG_LEVEL.WARNING for unfound… Mar 4, 2020
LICENSE Update to optimizely-server-sdk 1.2.1 and fix licensing files. Mar 20, 2017
README.md fix(datafile manager): Node datafile requests use gzip,deflate compre… Apr 17, 2020
lerna.json Updating lerna to latest version (#160) Aug 30, 2018
package-lock.json chore(deps): bump js-yaml from 3.6.1 to 3.13.1 (#338) Aug 15, 2019
package.json Implement js-sdk-logging in optimizely-sdk (#232) Mar 1, 2019
tsconfig.json Add logging / utils package (#226) Feb 21, 2019

README.md

Optimizely JavaScript SDK

This repository houses the official JavaScript SDK for use with Optimizely Full Stack and Optimizely Rollouts.

Optimizely Full Stack is A/B testing and feature flag management for product development teams. Experiment in any application. Make every feature on your roadmap an opportunity to learn. Learn more at https://www.optimizely.com/platform/full-stack/, or see the documentation.

Optimizely Rollouts is free feature flags for development teams. Easily roll out and roll back features in any application without code deploys. Mitigate risk for every feature on your roadmap. Learn more at https://www.optimizely.com/rollouts/, or see the documentation.

Packages

This repository is a monorepo that we manage using Lerna. Only one package lives here currently, but that may change in the future.

Package Version Docs Description
@optimizely/optimizely-sdk npm The Optimizely SDK

About

@optimizely/optimizely-sdk is developed and maintained by Optimizely and many contributors. If you're interested in learning more about what Optimizely X Full Stack can do for your company, please get in touch!

Contributing

Please see CONTRIBUTING.

Credits

First-party code (under packages/optimizely-sdk/lib/, packages/datafile-manager/lib, packages/datafile-manager/src, packages/datafile-manager/__test__, packages/event-processor/src, packages/event-processor/__tests__, packages/logging/src, packages/logging/__tests__, packages/utils/src, packages/utils/__tests__) is copyright Optimizely, Inc. and contributors, licensed under Apache 2.0.

Additional Code

Prod dependencies are as follows:

{
  "json-schema@0.2.3": {
    "licenses": [
      "AFLv2.1",
      "BSD"
    ],
    "publisher": "Kris Zyp",
    "repository": "https://github.com/kriszyp/json-schema"
  },
  "murmurhash@0.0.2": {
    "licenses": "MIT*",
    "repository": "https://github.com/perezd/node-murmurhash"
  },
  "uuid@3.3.2": {
    "licenses": "MIT",
    "repository": "https://github.com/kelektiv/node-uuid"
  },
  "decompress-response@4.2.1": {
    "licenses": "MIT",
    "repository": "https://github.com/sindresorhus/decompress-response"
  }
}
You can’t perform that action at this time.
Morty Proxy This is a proxified and sanitized view of the page, visit original site.