fave77/pbchess

Fix unit test for rendering component

Closed this issue ยท 1 comments

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:

  1. Go to /client/src/test/App.test.js
  2. Uncomment the commented lines
  3. Run npm test inside the client folder
  4. Check the error message

Expected behavior ๐Ÿ
To pass the test for all the components.

Screenshots ๐Ÿ“ท
code

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

Hello!
Want to work on it ๐Ÿ™‚๐Ÿ™‚...