andrewmunsell / needlepoint

ES6 and beyond dependency injection framework.
MIT License
94 stars 11 forks source link

How to mock some dependencies? #6

Open aksonov opened 8 years ago

aksonov commented 8 years ago

I want to mock some dependency (i.e. use MockDependency instead of Dependency) for easier testing, is it possible?

IdahoEv commented 8 years ago

@aksonov As you can see above I submitted a pull request to add this capability. Instructions for use are in the README of that branch.