Skip to content
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

(BSR) refactor(SettingsContext): add setSettings for tests #7581

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

xlecunff-pass
Copy link
Contributor

@xlecunff-pass xlecunff-pass commented Jan 27, 2025

L'objectif final est de supprimer le SettingContext, la première brique de se travail est d'abstraire le mock des settings dans une fonction qui sera appelée au besoin: setSettings

L'app a des FF venant du backend et de firebase, j'ai réutilisé la logique de setFeatureFlag pour créer setSettings

J'ai un petit doute sur le naming car setSettings est aussi une fonction d'Algolia, qui est autocomplétée et mise avant ce setSettings

@xlecunff-pass xlecunff-pass force-pushed the remove-settings-context branch 2 times, most recently from 2498384 to d247370 Compare January 27, 2025 12:40
@xlecunff-pass xlecunff-pass changed the title (BSR) refactor(SettingsContext): Remove settings context (BSR) refactor(SettingsContext): add setSettings for tests Jan 27, 2025
@xlecunff-pass xlecunff-pass force-pushed the remove-settings-context branch from 3c87701 to ca6fad4 Compare January 27, 2025 18:32
@xlecunff-pass xlecunff-pass force-pushed the remove-settings-context branch from ca6fad4 to 4e438a2 Compare January 27, 2025 22:22
@bebstein-pass bebstein-pass self-requested a review January 28, 2025 10:12
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