Overriding a Single Method in `Path` for Testing Without Type Casting
I wanna override a single method of
I tried to do it via
Path in tests, is there easier way to achieve it without type casting?I tried to do it via
Effect.provideService but it requires full implementation of Path so had to type cast. Also tried Layer.mock but found it only works for effects where Path is not effectful.