Skip to content
master
Go to file
Code
This branch is 116 commits behind optimizely:master.

Latest commit

…condition evaluator (optimizely#389)

## Summary
optimizely#288 introduced an exploratory new feature, the ability to pass custom condition evaluators to the SDK constructor via the option `UNSTABLE_conditionEvaluators`.

The AudienceEvaluator (and its tests) were refactored as a part of that PR, but no tests were added to assert that the `UNSTABLE_conditionEvaluators` worked when passed.

This PR introduces tests to ensure that functionality continues to work.

## Test plan
Unit tests added to assert that:
- You cannot override the built in `custom_attribute` evaluator
- A passed in custom condition evaluator will evaluate conditions of that type
- That the audience condition, user attributes, and logger instance are all passed to the custom evaluator

## Issues
- CJS-3815
bc84698

Git stats

Files

Permalink
Failed to load latest commit information.

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.

About

JavaScript SDK for Optimizely X Full Stack: A/B testing and feature management for product development teams

Resources

License

Packages

No packages published
You can’t perform that action at this time.