Enable the storageCacheStoreEnhancer in the Redux test store and fix any errors.
The test should ideally use the same store that is used in production. Missing features in the test environment should be mocked/shimmed so the tests run on the normal application code.
Enable the
storageCacheStoreEnhancer
in the Redux test store and fix any errors.The test should ideally use the same store that is used in production. Missing features in the test environment should be mocked/shimmed so the tests run on the normal application code.
https://github.com/cybersemics/em/blob/3409ccc29b521c444fe4561e1c968621aade7f1c/src/test-helpers/createTestStore.ts#L43-L44