1.0.1 • Published 6 years ago

expect-methods v1.0.1

Weekly downloads
1
License
ISC
Repository
github
Last release
6 years ago

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 what obj is.

Known issues

  • Needs more/better tests and docs.

 

License

ISC

1.0.1

6 years ago

1.0.0

6 years ago