Open tim2CF opened 4 years ago
Mocks are not working for functions defined with defdelegate expressions:
defdelegate
pid = self() with_mock Process, [:passthrough], alive?: &(&1 != pid) do Process.alive?(pid) # ==> true (expected false) end
Is there a solution for this?
Mocks are not working for functions defined with
defdelegate
expressions: