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 "Input" component #146

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

Write a Unit Test for "Input" component #146

sunilk429 opened this issue Oct 6, 2024 · 0 comments

Comments

@sunilk429
Copy link
Contributor

Issue Description

The Input component currently lacks any unit tests.

Expected Behavior

  • Unit tests should be added for the Input component to verify:
    • Proper rendering with provided props such as label, value, placeholder, and errorMessage.
    • Triggering of the onChange handler when the input value changes.
    • Application of custom class names.
    • Proper handling of the disabled prop.

Current Behavior

There are no unit tests for the Input component in the project.

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 unit tests for the Input component.

Steps to Reproduce

  1. Navigate to the _tests_ folder.
  2. Verify that no unit tests exist for the Input 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.
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