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 whatobj
is.
Known issues
- Needs more/better tests and docs.
License
ISC