Skip to content

test(Tasks): add Reports Toggle tests#467

Open
adiprathapa wants to merge 1 commit intoCCExtractor:mainfrom
adiprathapa:test/reports-toggle
Open

test(Tasks): add Reports Toggle tests#467
adiprathapa wants to merge 1 commit intoCCExtractor:mainfrom
adiprathapa:test/reports-toggle

Conversation

@adiprathapa
Copy link

Added tests for the Reports Toggle feature in the Tasks component that makes sure button text changes, ReportsView renders, and toggle behavior works.

Ref #433

Added tests for the Reports Toggle feature in the Tasks component.

Ref CCExtractor#433
@github-actions
Copy link

Thank you for opening this PR!

Before a maintainer takes a look, it would be really helpful if you could walk through your changes using GitHub's review tools.

Please take a moment to:

  • Check the "Files changed" tab
  • Leave comments on any lines for functions, comments, etc. that are important, non-obvious, or may need attention
  • Clarify decisions you made or areas you might be unsure about and/or any future updates being considered.
  • Finally, submit all the comments!

More information on how to conduct a self review:
https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/reviewing-proposed-changes-in-a-pull-request

This helps make the review process smoother and gives us a clearer understanding of your thought process.

Once you've added your self-review, we'll continue from our side. Thank you!

Copy link
Author

@adiprathapa adiprathapa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tests are pretty straightforward. Each one verifies a different part of the toggle behavior. Mocked ReportsView to keep tests focused on the toggle.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant