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

Write a Unit Test for SignInWithRds component #155

Open
6 of 10 tasks
sunilk429 opened this issue Oct 9, 2024 · 0 comments
Open
6 of 10 tasks

Write a Unit Test for SignInWithRds component #155

sunilk429 opened this issue Oct 9, 2024 · 0 comments

Comments

@sunilk429
Copy link
Contributor

sunilk429 commented Oct 9, 2024

Issue Description

The SignInWithRds component currently lacks comprehensive unit tests to ensure proper functionality across various scenarios.

Expected Behavior

  • Unit tests should be added for the SignInWithRds component to verify:
    • Rendering of the sign-in button for unauthenticated users.
    • Handling of the sign-in button click, redirecting the user to the appropriate authentication URL.
    • Display of user information (e.g., name and profile picture) for authenticated users.

Current Behavior

There are no unit tests for the SignInWithRds component in the project, making it difficult to verify its behavior.

Reproducibility

  • This issue is reproducible
  • This issue is not reproducible

You can reproduce this issue by navigating to the _tests_ folder and confirming that there are no files SignInWithRds.test.tsx

Steps to Reproduce

  1. Navigate to the _tests_ folder.
  2. Verify that no unit tests exist for the SignInWithRds component.

Severity/Priority

  • Critical
  • High
  • Medium
  • Low

Checklist

  • I have read and followed the project's code of conduct.
  • I have searched for similar issues before creating this one.
  • I have provided all the necessary information to understand and reproduce the issue.
  • I am willing to contribute to the resolution of this issue.
@sunilk429 sunilk429 changed the title Write a Unit Test for Sign Write a Unit Test for SignInWithRds component Oct 9, 2024
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

No branches or pull requests

1 participant