Hacker News new | ask | show | jobs
by dnautics 2212 days ago
You can't run concurrent tests doing direct mock injection in that fashion, because the mock is global. If you use Mox (or similar), your mocks are tied to your test.