Feature flags env variable gating (#9481)
closes #9032 --------- Co-authored-by: Antoine Moreaux <moreaux.antoine@gmail.com>
This commit is contained in:
@ -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();
|
||||
|
||||
Reference in New Issue
Block a user