I love libraries like mock-fs. I think it’s almost always better to mock at the persistance layer than to do custom mocks for every call to something stateful.
I love libraries like mock-fs. I think it’s almost always better to mock at the persistance layer than to do custom mocks for every call to something stateful.