kentcdodds / testing-react-apps

A workshop for testing react applications
https://www.epicreact.dev/modules/testing-react-apps-v1/testing-react-apps-welcome
Other
1.07k stars 719 forks source link

Updated code to be in sync with the video #73

Closed som-sm closed 2 years ago

som-sm commented 2 years ago

Based on the conversation here, this PR brings the code in the repo in sync with what is present in the video.

In the video, initialProps is directly passed to the useCounter hook and not via the TestComponent

kentcdodds commented 2 years ago

@all-contributors please add @ssmkhrj for code

allcontributors[bot] commented 2 years ago

@kentcdodds

I've put up a pull request to add @ssmkhrj! :tada: