Skip to content

Commit

Permalink
Merge pull request #67 from sanjam-deriv/testfix
Browse files Browse the repository at this point in the history
chore: remove unwanted test case
  • Loading branch information
amina-deriv authored Oct 26, 2023
2 parents e59fb66 + 775d74f commit 0b78c89
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,6 @@ describe('useHasMFAccountDeposited', () => {
expect(result.current).toBe(false);
});

test('should return true if unwelcome status is in account_status', () => {
mock_useQuery_return_value.data.get_account_status.status = ['unwelcome'];
const { result } = renderHook(() => useHasMFAccountDeposited(), { wrapper });

expect(result.current).toBe(true);
});

test('should return true if withdrawal_locked status is in account_status', () => {
mock_useQuery_return_value.data.get_account_status.status = ['withdrawal_locked'];
const { result } = renderHook(() => useHasMFAccountDeposited(), { wrapper });
Expand Down

0 comments on commit 0b78c89

Please sign in to comment.