Skip to content
This repository has been archived by the owner on Apr 30, 2024. It is now read-only.

auto-mock #24

Open
davglass opened this issue Jan 21, 2015 · 0 comments
Open

auto-mock #24

davglass opened this issue Jan 21, 2015 · 0 comments

Comments

@davglass
Copy link
Collaborator

Add in a new type of mock called autoMock that will require the original module, then smartly stub out all the methods on the module. Putting in place some defaults like:

  • Checking for callbacks being the last argument.
  • Checking if they are EventEmmitter then add some methods
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant