-
Notifications
You must be signed in to change notification settings - Fork 36
[FME-10568] update js commons and add fallback treatment e2e tests #897
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
|
||
| assert.test('FallbackTreatment / Split factory with global fallbackTreatment defined', async t => { | ||
|
|
||
| const config = Object.assign({}, baseConfig); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
const splitio = SplitFactory({
...baseConfig,
fallbackTreatments: {
global: 'FALLBACK_TREATMENT'
}
});
EmilianoSanchez
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Emma, we need to check that TypeScript definitions are correct and include the new fallbackTreatments configuration options for the different SDK modes, by updating the ts-tests/index.ts file with the corresponding tests.
JS SDK
What did you accomplish?
How do we test the changes introduced in this PR?
Extra Notes