kronos-test-interceptor
v3.1.1
Published
test support for kronos interceptors
Downloads
82
Readme
kronos-test-interceptor
test support for kronos interceptors
API Reference
mochaInterceptorTest(factory, ep, config, type, cp)
Kind: global function
| Param | Type | Description | | --- | --- | --- | | factory | Class | interceptor Class | | ep | Endpoint | endpoint to assign | | config | Object | to assing | | type | String | type identifier to use | | cp | function | for additional tests |
mockReceiveInterceptor.receive()
Receives the request from the interecptor before this one. Both parameters will be given to the validation function
Kind: instance method of MockReceiveInterceptor
install
With npm do:
npm install kronos-test-interceptor
license
BSD-2-Clause