Checks API calling code.
Kind: instance method of [ApiFacet](#ApiFacet)
See: api.test
Param | Type | Description |
---|---|---|
[opts] | Object |
|
opts.error | ? |
Error response to return |
opts.foo | ? |
example property to return |
[optCb] | function |
Optional callback, if not using promises. |