Hey Eric, I really enjoy your writing and I enjoy working with pure functions and pipes.
Nicolas Marcora
1

Yes, of course, and if the whole pipeline is pure, it can be a unit test of the resulting function, but if there are side effects, the tests should be integration tests, not unit tests, and either way, there should be no reason to mock.