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
Using meck for mocking is kind of weird and unnatural. It's easier and cleaner to just stand up a simple Plug app with a notify route and change the origin config for the test environment. We will probably also need to add Cowboy as a test dependency.
The text was updated successfully, but these errors were encountered:
I've used it a bit and while there is room for improvement, if you're not doing anything that requires coordinating lots of outgoing requests, it's probably a lighter weight solution.
Edit: Just realized this was a pretty old issue, I just saw it and figured I'd offer a suggestion.
Using
meck
for mocking is kind of weird and unnatural. It's easier and cleaner to just stand up a simple Plug app with anotify
route and change theorigin
config for the test environment. We will probably also need to add Cowboy as a test dependency.The text was updated successfully, but these errors were encountered: