React component need unit testing

Job ID: 33902589

Budget: €30 – €250 EUR

Hello,

I have the following component built in React
https://stackoverflow.com/questions/72608030/how-to-implement-a-unit-test-of-a-component-whcih-uses-a-custom-hook

I need to implement a unit test of it using the JEST and Testing-library tools for it.

I tried on my own but I'm not practical with unit tests.

I would appreciate a quick help to fix it via any desk or via a live share of Visual Studio Code as I cannot share the project due to proxies limitations.

If you can help quickly will be appreciated.

Thanks
Related categories: JavaScript Testing / QA React.js