Open developer-akash opened 4 years ago
I'm trying to do a simple unit test with Jest + react-testing-library but I'm getting errors when trying to render your component.
To reproduce: Write any simple test case for initializing your component using Jest + react-testing-library
Do I need to set up any mocks in order to use this component in a jest environment?
I'm getting this error in the console
I'm trying to do a simple unit test with Jest + react-testing-library but I'm getting errors when trying to render your component.
To reproduce: Write any simple test case for initializing your component using Jest + react-testing-library
Do I need to set up any mocks in order to use this component in a jest environment?
I'm getting this error in the console