Skip to content

Conversation

@vprajuna
Copy link

@vprajuna vprajuna commented Apr 9, 2024

Edited the Counter.test.js file.

  • imported testing library helpers and the Counter component
  • wrote beforeEach() -> renders the Counter component
  • wrote test('renders counter message', () => {});
  • wrote test('should render initial count with value of 0', () => {});
  • wrote test('clicking + increments the count', () => {});
  • wrote test('clicking - decrements the count', () => {});

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