Using react testing library and easy-peasy state management

39 Views Asked by At

I am using easy peasy and RTL for testing and am getting error

TypeError: Cannot read properties of undefined (reading 'subscribe') 

when running the test. The app works otherwise in the browser.

Anyone know of any solutions?

I was doing a test with RTL but can never seem to get past the type error.

0

There are 0 best solutions below