Sententiaregum/flux-container

don't freeze whole store

Ma27 opened this issue · 0 comments

Ma27 commented

Description of the issue

the store itself should not be frozen as it should be mockable in unittests

Steps to reproduce

  • build a store using the store() API.
  • try to mock it in a unit test with a mocking engine such as sinon

Expected behavior

store should be mockable