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

ZEVA - Write Unit Tests for Credits Components #1739

Closed
3 tasks
AlexZorkin opened this issue May 15, 2023 · 0 comments
Closed
3 tasks

ZEVA - Write Unit Tests for Credits Components #1739

AlexZorkin opened this issue May 15, 2023 · 0 comments
Assignees
Labels

Comments

@AlexZorkin
Copy link
Contributor

Describe the task
There is a considerable lack of unit tests for Credits components. We aim to fill this gap.

Purpose
Adding unit tests will increase the confidence in capturing the business logic and ensure the consistent functioning of the Credits components.

Acceptance Criteria

  • Pick 3 files and create test files for the components that currently lack coverage
  • Write unit tests to reach 50% coverage in the Components test files
  • Focus on capturing business logic in each of the component files such as credits calculation logic, user input validation, state changes, etc.

Additional context

use the jest --coverage command to view the current coverage percentages for the files

Screenshot 2023-05-15 at 1.33.40 PM.png

@AlexZorkin AlexZorkin added Low Low priority Tech Debt labels May 15, 2023
@tim738745 tim738745 self-assigned this Jun 27, 2023
@kcabhar kcabhar added the Angus Young Release 🎸 Release Tag label Jul 5, 2023
@kcabhar kcabhar closed this as completed Jul 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants