Fix unit test for rendering component
Closed this issue ยท 1 comments
fave77 commented
Describe the bug ๐
Currently, Navbar
, Profile
, Lobby
, and PrivateRoute
components are throwing error for the unit test - renders without crashing!
To Reproduce ๐
Steps to reproduce the behavior:
- Go to
/client/src/test/App.test.js
- Uncomment the commented lines
- Run
npm test
inside the client folder - Check the error message
Expected behavior ๐
To pass the test for all the components.
Desktop (please complete the following information): ๐ป
- OS: [e.g. ubuntu]
- Node.js [version - 12.18.3]
Smartphone (please complete the following information): ๐ฑ
NA
Additional context ๐
NA
Subhra264 commented
Hello!
Want to work on it ๐๐...