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 "Textarea" component #147

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

Write a Unit Test for "Textarea" component #147

sunilk429 opened this issue Oct 6, 2024 · 0 comments

Comments

@sunilk429
Copy link
Contributor

Issue Description

The Textarea component currently lacks any unit tests.

Expected Behavior

  • Unit tests should be added for the Textarea component to verify:
    • Proper rendering with provided props such as label, value, placeholder, errorMessage, and rows.
    • Triggering of the onChange handler when the textarea value changes.
    • Application of custom class names.
    • Correct handling of the rows attribute, including a default value when not specified.
    • Omission of the label and errorMessage when not provided.

Current Behavior

There are no unit tests for the Textarea 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 Textarea component.

Steps to Reproduce

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