Repatch - Everything you need for mocking and patching

Thank you for this library!

I have a small issue where I use Repatch to test the today’s date inside a LiveView.

It works well if I use mode: :shared for each test, but I wanted to make it :shared for the whole LiveView test. So I thought I could do use Repatch.ExUnit, isolate_env: :shared as written in the documentation, but this does not seem work.

I am not sure if I am doing something wrong or if it does not work with expectations or even it is actually normal.

I have published a repository to repository to reproduce this case here. The line were Repatch is used is here.