First, configure the mock store with the help of the redux-mock-store library. View the code on Gist. Configure function for execution before each test run using the ‘beforeEach’ method.
First, configure the mock store with the help of the redux-mock-store library. View the code on Gist. Configure function for execution before each test run using the ‘beforeEach’ method.