Skip to content

Conversation

@arjav1528
Copy link

Description

Overview

Improved test coverage for the SetupGuide components in src/components/HomeComponents/SetupGuide/. Focused on adding meaningful tests rather than coverage-only tests, with no functional changes to the codebase.

Changes Summary

📁 Files Modified

  1. __tests__/utils.test.ts - Added comprehensive tests for exportConfigSetup utility function
  2. __tests__/CopyableCode.test.tsx - Enhanced tests for CopyableCode component with sensitive value functionality
  3. SetupGuide.test.tsx - Expanded tests for SetupGuide component including download functionality

Checklist

  • Ran npx prettier --write . (for formatting)
  • Ran gofmt -w . (for Go backend)
  • Ran npm test (for JS/TS testing)
  • Added unit tests, if applicable
  • Verified all tests pass
  • Updated documentation, if needed

Additional Notes

@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!

@its-me-abhishek its-me-abhishek changed the title Added testcases for Setup Guide test: add testcases for Setup Guide Dec 27, 2025
@its-me-abhishek
Copy link
Collaborator

please fix prettier issues

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