Feature flags env variable gating (#9481)

closes #9032

---------

Co-authored-by: Antoine Moreaux <moreaux.antoine@gmail.com>
This commit is contained in:
nitin
2025-01-10 14:04:00 +01:00
committed by GitHub
co-authored by Antoine Moreaux
parent 75bf9e3c69
commit ddcb3dfd28
14 changed files with 113 additions and 89 deletions
@@ -141,10 +141,7 @@ describe('useAuth', () => {
const { result } = renderHooks();
await act(async () => {
const res = await result.current.signUpWithCredentials(email, password);
expect(res).toHaveProperty('user');
expect(res).toHaveProperty('workspaceMember');
expect(res).toHaveProperty('workspace');
await result.current.signUpWithCredentials(email, password);
});
expect(mocks[2].result).toHaveBeenCalled();