- Added simple ChildComponent and ParentComponent where ChildComponent is passed as a children prop to the parent Component
- Here we are passing buttonComponent prop to the ChildComponent where it returns jsx (simple button component) when it is called from the ChildComponent, Implementation of the buttonComponent (private component) is handled in the App.js component
- For more details added inline documentation under App.test.js file
-
Notifications
You must be signed in to change notification settings - Fork 0
Vignesh7050/react-unit-testing-private-component
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published