Skip to content

test(setupguide): add tests for for utils.ts#312

Merged
its-me-abhishek merged 1 commit intoCCExtractor:mainfrom
Neeraj-gagat:test/utils-coverage
Dec 26, 2025
Merged

test(setupguide): add tests for for utils.ts#312
its-me-abhishek merged 1 commit intoCCExtractor:mainfrom
Neeraj-gagat:test/utils-coverage

Conversation

@Neeraj-gagat
Copy link
Copy Markdown
Contributor

@Neeraj-gagat Neeraj-gagat commented Dec 26, 2025

Description

Added unit test for exportConfigSetup utility
test verifies the correct geneerations of configuration by using given props without changing functionality.

- Fixes: #301

these tests increased coverage for utils.ts file from 66.66 to 100%

image

Screenshot from 2025-12-26 19-23-21

@github-actions
Copy link
Copy Markdown

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
Copy Markdown
Contributor Author

@Neeraj-gagat Neeraj-gagat left a comment

Choose a reason for hiding this comment

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

done with the self review new added test file increased test coverage from 66.66 to 100%
no functional changes were made so nothing breakes or chnages everythig works fine

@its-me-abhishek its-me-abhishek changed the title added test(setupguide) for utils.ts test(setupguide): add tests for for utils.ts Dec 26, 2025
@its-me-abhishek its-me-abhishek merged commit a4f23a8 into CCExtractor:main Dec 26, 2025
5 checks passed
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.

Add frontend test suites/cases for src/components/HomeComponents/SetupGuide

2 participants