expect-methods
v1.0.1
Published
Assert that some object carries all the methods you expect.
Readme
expect-methods
Assert that some object carries all the methods you expect.
API
This module exports one function:
expectMethods(obj, names[, opts])
names should be an array of method names you expect to see on obj.
opts is an optional options object that supports these keys:
descr: Description of whatobjis.
Known issues
- Needs more/better tests and docs.
License
ISC
