Skip to content

Added 4 unitests and they work#1

Open
SungHong96 wants to merge 1 commit intomainfrom
hong_counter
Open

Added 4 unitests and they work#1
SungHong96 wants to merge 1 commit intomainfrom
hong_counter

Conversation

@SungHong96
Copy link
Owner

Added tests to check:
The counter message displays correctly.
The counter starts at 0.
Clicking the + button increments the count.
Clicking the - button decrements the count.

Achieved 100% test coverage for the Counter component using React Testing Library.

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.

1 participant