Add assertions for new Remote Config value types in createTemplateFromJSON test by google-labs-jules[bot] · Pull Request #3047 · firebase/firebase-admin-node
…mJSON test Updates the `createTemplateFromJSON` unit test to include specific assertions for `new_ui_enabled`, `personalized_welcome_message`, and `experiment_enabled` parameters. This ensures that Rollout, Personalization, and Experiment value types are correctly handled when creating a template from a JSON string.
Updates the `createTemplateFromJSON` unit test to explicitly cast conditional values to `RolloutParameterValue`, `PersonalizationParameterValue`, and `ExperimentParameterValue` interfaces. Asserts on individual fields of these values instead of generic object equality checks. Exports the necessary interfaces from `src/remote-config/index.ts` to support these assertions.
ashish-kothari
deleted the
remote-config-test-assertions-2202110623002317253
branch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters