Skip to content

Conversation

@ZamoraEmmanuel
Copy link
Contributor

JS SDK

What did you accomplish?

How do we test the changes introduced in this PR?

Extra Notes

@ZamoraEmmanuel ZamoraEmmanuel requested a review from a team as a code owner October 24, 2025 17:13

assert.test('FallbackTreatment / Split factory with global fallbackTreatment defined', async t => {

const config = Object.assign({}, baseConfig);
Copy link
Contributor

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'
  }
});

Copy link
Contributor

@EmilianoSanchez EmilianoSanchez left a 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.

@ZamoraEmmanuel ZamoraEmmanuel merged commit 98d95f2 into fallback-treatment Oct 29, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants