$stub and autoStub option
jackmellis opened this issue · comments
Jack commented
- $get a dependency. If it exists, enumerate all of its methods and stub them
- then $set the stubbed result on the class
- the stub function should be configurable, either an option passed into the plugin, or a new $ property
- possibly auto-detect jasmine/sinon
- have a class-level option to auto-stub all of the class's dependencies