Running Wallaby tests asynchronously with Mox #591
jonleighton
started this conversation in
Show and tell
Replies: 1 comment 1 reply
-
Thank you so much for the community resource! I've been thinking for a while that wallaby is probably in need of some guides, similar to Phoenix and Ecto. Until I can figure something like that out, I think adding some mention of this to the README would be great. If you want to take a crack at it, please feel free! Otherwise I'll get it it this next week. Thanks! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi! 👋 I wrote this thing which is focussed on how to run Wallaby tests asynchronously when also using Mox: https://jonleighton.name/2021/asynchronous-browser-tests-with-phoenix/
But I was pondering whether it would be useful to mention something about this approach in Wallaby's docs? I took me a bit of effort to find this solution and so I'm thinking that drawing attention to this approach may help others. I think that most projects of a certain size are likely to have some sort of resource-sharing issue like this (not necessarily Mox) so perhaps it would be helpful to highlight that switching to synchronous tests is not the only possibility.
Beta Was this translation helpful? Give feedback.
All reactions