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

Add Unit tests for the Pill #18

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

kushagrarora17
Copy link

@kushagrarora17 kushagrarora17 commented Oct 28, 2024

I have added unit tests for Pill using Jest and React Testing Library. With this PR, the coverage becomes 100% 🎉(EDIT: 83.33% now)

Issue #17

image

@Neha
Copy link
Owner

Neha commented Nov 3, 2024

thank you for PR. A few things:

  1. The issue was already assigned. As of now, I will accept this PR. In future, please pick only those issues which are not assigned to anyone.

  2. There is a conflict , please resolve.

@kushagrarora17
Copy link
Author

@Neha Apologies for neglecting the assigned field. Point noted for future.

@kushagrarora17
Copy link
Author

The test coverage is now 83.33%. The tests for keyboard events are not added yet. I will be able to add it on the weekend. If this looks satisfactory, feel free to merge.

image

@kushagrarora17
Copy link
Author

image

Coverage after adding tests for keyboard events

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.

2 participants