inject
An inject function to run integration tests
Arguments
Returns
Usage
const { debug, router, methods, response } = require('octoris')
function handler () {
return response.send(200, 'Hello')
}
debug.inject({
url: 'localhost:3000',
method: 'GET'
}, router.route(['/'], [methods.GET(handler)]))
Last updated
Was this helpful?