Skip to content

Add Unit tests for the Pill#18

Open
kushagrarora17 wants to merge 5 commits into
Neha:mainfrom
kushagrarora17:unit_tests
Open

Add Unit tests for the Pill#18
kushagrarora17 wants to merge 5 commits into
Neha:mainfrom
kushagrarora17:unit_tests

Conversation

@kushagrarora17

@kushagrarora17 kushagrarora17 commented Oct 28, 2024

Copy link
Copy Markdown

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

Neha commented Nov 3, 2024

Copy link
Copy Markdown
Owner

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
Copy Markdown
Author

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

@kushagrarora17

Copy link
Copy Markdown
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
Copy Markdown
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