You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, with this setup I have to put the expects before starting the genserver, which prevents me from locating them next to the code that will trigger the expects.
The text was updated successfully, but these errors were encountered:
Similar to Hammox it would be nice to allow processes to use a mock before expectations have been defined.
In this case I have a genserver that takes a opt for allow_fun which will run a provided function in the genserver process on init
In the test I then pass the allow_fun
However, with this setup I have to put the expects before starting the genserver, which prevents me from locating them next to the code that will trigger the expects.
The text was updated successfully, but these errors were encountered: