Skip to content

Conversation

@avinash-tiwari
Copy link

Description Added unit-test for all the components present using react-testing-library.
Changes Made changes in how the components were placed. Now, I am using a folder structure to place the components to contain the testing files within the component code itself.
The new structure is:-
ComponentName

  • ComponentName.js (component file)
  • index.js (import file)
  • __test__ (test folder)
    • ComponentName.test.js (test file)

Do let me know your insights, we can discuss things accordingly.
Thanks.

@avinash-tiwari
Copy link
Author

Will create a PR tomorrow, need to add some changes.
Thanks

@avinash-tiwari avinash-tiwari reopened this Oct 1, 2021
@avinash-tiwari
Copy link
Author

Please check, and we can discuss it accordingly if found anything.
Thanks.

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