-
Notifications
You must be signed in to change notification settings - Fork 8
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
Fix: Failing tests cases 2 #42
Conversation
Preview Link: https://fix-test-cases-2.deriv-p2p.pages.dev
|
@@ -275,62 +275,6 @@ describe('PaymentMethodForm', () => { | |||
); | |||
expect(onResetFormState).toHaveBeenCalled(); | |||
}); | |||
it('should show the error modal when a payment method is not created successfully and close it when the ok button is clicked', async () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -64,25 +75,15 @@ describe('ProfileBalance', () => { | |||
const dailyAvailableSellLimit = screen.getByTestId('dt_profile_balance_available_sell_limit'); | |||
expect(within(dailyAvailableSellLimit).getByText('600.00 USD')).toBeInTheDocument(); | |||
}); | |||
it('should render eligibility for daily limit upgrade', async () => { | |||
it('should render ProfileDailyLimit', () => { | |||
mockAdvertiserStatsProp = { | |||
advertiserStats: { | |||
...mockAdvertiserStatsProp.advertiserStats, | |||
isEligibleForLimitUpgrade: true, | |||
}, | |||
}; | |||
render(<ProfileBalance {...mockAdvertiserStatsProp} />); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
covered the daily limit modal test coverage above already
No description provided.