This might be of interest to readers: I developed a new dependency injection library, rewire, to allow you to inject any mock you like into the module under test. It requires zero changes to your production code. Check it out: github.com/stephanos/rewire
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
This might be of interest to readers: I developed a new dependency injection library,
rewire
, to allow you to inject any mock you like into the module under test. It requires zero changes to your production code. Check it out: github.com/stephanos/rewire